From 28f34e1ddeb638aaba13be694200b8ee0a5c901d Mon Sep 17 00:00:00 2001 From: jhumeau Date: Mon, 10 Nov 2008 14:35:34 +0000 Subject: [PATCH] Modif resulting of default template git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1246 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp | 4 ++-- trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp b/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp index a158a383c..fdddf4609 100644 --- a/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp +++ b/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp @@ -67,10 +67,10 @@ typedef moeoRealObjectiveVector < Sch1ObjectiveVectorTraits > Sch1ObjectiveVecto // multi-objective evolving object for the Sch1 problem -class Sch1 : public moeoRealVector < Sch1ObjectiveVector, double, double > +class Sch1 : public moeoRealVector < Sch1ObjectiveVector > { public: - Sch1() : moeoRealVector < Sch1ObjectiveVector, double, double > (1) + Sch1() : moeoRealVector < Sch1ObjectiveVector > (1) {} }; diff --git a/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h b/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h index 993f901d8..11397b551 100644 --- a/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h +++ b/trunk/paradiseo-moeo/tutorial/examples/flowshop/FlowShop.h @@ -44,7 +44,7 @@ /** * Structure of the genotype for the flow-shop scheduling problem: a vector of unsigned int int. */ -class FlowShop: public moeoVector < FlowShopObjectiveVector , double , double , unsigned int > +class FlowShop: public moeoVector < FlowShopObjectiveVector , unsigned int > { public: