diff --git a/trunk/paradiseo-moeo/test/t-moeoIBEA.cpp b/trunk/paradiseo-moeo/test/t-moeoIBEA.cpp index ce898f4d4..89b05fc4f 100644 --- a/trunk/paradiseo-moeo/test/t-moeoIBEA.cpp +++ b/trunk/paradiseo-moeo/test/t-moeoIBEA.cpp @@ -88,21 +88,29 @@ int main() std::cout << "[moeoIBEA]" << std::endl; TestEval eval; + eoPopLoopEval popEval(eval); eoQuadCloneOp < Solution > xover; eoUniformMutation < Solution > mutation(0.05); eoRealVectorBounds bounds(1, 1.0, 2.0); eoRealInitBounded < Solution > init(bounds); eoPop < Solution > pop(20, init); + eoQuadGenOp genOp(xover); + eoSGATransform < Solution > transform(xover, 0.1, mutation, 0.1); + eoGenContinue continuator(10); // indicator moeoAdditiveEpsilonBinaryMetric < ObjectiveVector > indicator; // build IBEA - moeoIBEA < Solution > nsgaII(20, eval, xover, 1.0, mutation, 1.0, indicator); + moeoIBEA < Solution > algo(20, eval, xover, 1.0, mutation, 1.0, indicator); + moeoIBEA < Solution > algo2(continuator, eval, genOp, indicator); + moeoIBEA < Solution > algo3(continuator, popEval, genOp, indicator); + moeoIBEA < Solution > algo4(continuator, eval, transform, indicator); + moeoIBEA < Solution > algo5(continuator, popEval, transform, indicator); // run the algo - nsgaII(pop); + algo(pop); // final pop std::cout << "Final population" << std::endl;