#ifndef INCLUDED_COMMON_H #define INCLUDED_COMMON_H extern struct path { u8 *items; u32 count; u32 capacity; } path; extern struct crdf { struct crdf_entry { f32 c; u32 j; } *items; u32 count; u32 capacity; } crdf; f32 build_crdf (u8 i); f32 measure_path (void); void added_j (u8 j); void export_path (u8 path[NODE_COUNT], int generation); bool finished (void); extern f32 (*pheromones_current)[NODE_COUNT]; #endif // INCLUDED_COMMON_H