next up previous
Next: engine.h Up: Example: Implementing Time-sensitive Simulated Previous: Main Makefile

basic_types.h, shell_input.cpp

A new type must be added for HeuristicType in basic_types.h. Additionally, the input must be parsed correctly when given the flag ``-h''.

      case 'h':
        if(strcmp(argv[i+1], "simulated_annealing")==0)
           heuristic = h_simulated_annealing;
        i++;
        break;



Vinhthuy Phan 2003-05-15