doc modified
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1710 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
655b3708b0
commit
40a1da3242
1 changed files with 7 additions and 2 deletions
|
|
@ -70,7 +70,12 @@ public:
|
||||||
moSolNeighborComparator<Neighbor>& _solNeighborComparator,
|
moSolNeighborComparator<Neighbor>& _solNeighborComparator,
|
||||||
unsigned _nbStep) :
|
unsigned _nbStep) :
|
||||||
moSimpleHCneutralExplorer<Neighborhood>(_neighborhood, _eval, _neighborComparator, _solNeighborComparator),
|
moSimpleHCneutralExplorer<Neighborhood>(_neighborhood, _eval, _neighborComparator, _solNeighborComparator),
|
||||||
nbStep(_nbStep){}
|
nbStep(_nbStep){
|
||||||
|
//Some cycle is possible with equals fitness solutions if the neighborhood is not random
|
||||||
|
if(!neighborhood.isRandom()){
|
||||||
|
std::cout << "moHCneutralExplorer::Warning -> the neighborhood used is not random" << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destructor
|
* Destructor
|
||||||
|
|
@ -106,7 +111,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* accept test if an amelirated neighbor was be found
|
* accept test if an ameliorated neighbor was be found
|
||||||
* @param _solution the solution
|
* @param _solution the solution
|
||||||
* @return true if the best neighbor ameliorate the fitness or is equals
|
* @return true if the best neighbor ameliorate the fitness or is equals
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue