/* ai.c common stuff for AI techniques */ #include #include "data.h" #include "aiutils.h" state *best_solution=NULL; int best_solution_time=0; list_of_roads *ai_best_solution(void) { if (best_solution==NULL) return NULL; return best_solution->route; } int ai_best_solution_time(void) { return best_solution_time; }