#include #include #include #include #include #include #include #include #include #include #include #include // for the creation of an evaluator #include // for the creation of an initializer #include // for the creation of the variation operators #include // how to initialize the population #include int main(int argc, char* argv[]) { eoParser parser(argc, argv); // for user-parameter reading eoState state; // to keep all things allocated ExchangeMoveNext moveNext; ExchangeMoveInit moveInit; ExchangeMove move; eoEvalFuncCounter& eval = do_make_eval(parser, state); eoInit& init = do_make_genotype(parser, state); // population eoPop& pop = do_make_pop(parser, state, init); eoTimeContinue < FlowShop > continuator(10000000); moeoAllSolAllNeighborsExpl < ExchangeMove > explorer(moveInit,moveNext, eval); // moeoUnifiedDominanceBasedLS < ExchangeMove > algo(continuator, explorer); for (unsigned int i=0; i