next up previous
Next: operator.cpp Up: Relationships with Neighborhood and Previous: circular_permutation.h, circular_permutation.cpp

objective_function.h, operator.h

Simply add an ``include'' in the header files.

#include ``circular_permutation.h''

Add these declarations in objective_functions.h:

#ifdef CIRCULARPERMUTATION
static double true_cost(CircularPermutation & solution);
static double true_correctness(CircularPermutation & solution);
static double cost(CircularPermutation & solution) ;
static double correctness(CircularPermutation & solution);
static double delta_cost(CircularPermutation & solution, const mutation_element & mut_el) ;
static double delta_correctness(CircularPermutation & solution, const mutation_element & mut_el);
static double extend_cost(CircularPermutation & solution, const mutation_element & mut_el);
static double extend_correctness(CircularPermutation & solution, const mutation_element & mut_el);
#endif

where CIRCULARPERMUTATION is defined in problem_defs.h.



Vinhthuy Phan 2003-05-15