cleanup
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1720 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
ea81cb7f3d
commit
4d5b8db81e
23 changed files with 44 additions and 62 deletions
|
|
@ -93,7 +93,7 @@ int main()
|
|||
eoRealInitBounded < Solution > init(bounds);
|
||||
eoPop < Solution > pop(20, init);
|
||||
|
||||
for(int i=0; i<pop.size(); i++)
|
||||
for(unsigned int i=0; i<pop.size(); i++)
|
||||
eval(pop[i]);
|
||||
|
||||
eoSGATransform < Solution > transform(xover, 0.1, mutation, 0.1);
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ class DummyEval: public eoEvalFunc<Solution>{
|
|||
|
||||
int main()
|
||||
{
|
||||
int res=EXIT_SUCCESS;
|
||||
|
||||
std::cout << "[moeoChebyshevMetric] => ";
|
||||
|
||||
// objective vectors
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ class DummyEval: public eoEvalFunc<Solution>{
|
|||
|
||||
int main()
|
||||
{
|
||||
int res=EXIT_SUCCESS;
|
||||
|
||||
std::cout << "[moeoChebyshevMetric] => ";
|
||||
|
||||
// objective vectors
|
||||
|
|
|
|||
|
|
@ -70,8 +70,6 @@ typedef MOEO < ObjectiveVector, double, double > Solution;
|
|||
|
||||
int main()
|
||||
{
|
||||
int res=EXIT_SUCCESS;
|
||||
|
||||
std::cout << "[moeoAggregationFitnessAssignment] => ";
|
||||
|
||||
// objective vectors
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ class DummyEval: public eoEvalFunc<Solution>{
|
|||
|
||||
int main()
|
||||
{
|
||||
int res=EXIT_SUCCESS;
|
||||
|
||||
std::cout << "[moeoChebyshevMetric] => ";
|
||||
|
||||
// objective vectors
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ class DummyEval: public eoEvalFunc<Solution>{
|
|||
|
||||
int main()
|
||||
{
|
||||
int res=EXIT_SUCCESS;
|
||||
|
||||
std::cout << "[moeoChebyshevMetric] => ";
|
||||
|
||||
// objective vectors
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ class DummyEval: public eoEvalFunc<Solution>{
|
|||
|
||||
int main()
|
||||
{
|
||||
int res=EXIT_SUCCESS;
|
||||
|
||||
std::cout << "[moeoAggregationFitnessAssignment] => ";
|
||||
|
||||
// objective vectors
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ int main()
|
|||
// test with max > archive size
|
||||
moeoDetArchiveSelect <Solution> select1(archive, 10);
|
||||
select1(source, dest);
|
||||
for(int i=0; i< archive.size(); i++){
|
||||
for(unsigned int i=0; i< archive.size(); i++){
|
||||
assert(dest[i].objectiveVector()[0]==archive[i].objectiveVector()[0]);
|
||||
assert(dest[i].objectiveVector()[1]==archive[i].objectiveVector()[1]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -266,7 +266,6 @@ class selectMove: public moMoveSelect<testMove>
|
|||
int main()
|
||||
{
|
||||
std::string test_result;
|
||||
int return_value;
|
||||
|
||||
Solution solution;
|
||||
|
||||
|
|
|
|||
|
|
@ -246,7 +246,6 @@ class solutionSingler : public moeoSingleObjectivization<Solution>
|
|||
int main()
|
||||
{
|
||||
std::string test_result;
|
||||
int return_value;
|
||||
|
||||
Solution solution;
|
||||
|
||||
|
|
|
|||
|
|
@ -277,7 +277,6 @@ class selectMove: public moMoveSelect<testMove>
|
|||
int main()
|
||||
{
|
||||
std::string test_result;
|
||||
int return_value;
|
||||
|
||||
Solution solution;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue