Passage du code dans un pretty printer
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1813 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
cc31901008
commit
3d8057ac4d
88 changed files with 2726 additions and 2720 deletions
|
|
@ -40,7 +40,7 @@ class moForwardVariableNeighborhood : public moVariableNeighborhood<EOT>
|
|||
{
|
||||
public:
|
||||
|
||||
typedef moNeighbor<EOT> Neighbor;
|
||||
typedef moNeighbor<EOT> Neighbor;
|
||||
|
||||
using moVariableNeighborhood<EOT>::currentNH;
|
||||
using moVariableNeighborhood<EOT>::neighborhoodVector;
|
||||
|
|
@ -64,21 +64,21 @@ public:
|
|||
* @return true if there is some neighborhood to explore
|
||||
*/
|
||||
virtual bool contNeighborhood() {
|
||||
return (currentNH < neighborhoodVector.size() - 1);
|
||||
return (currentNH < neighborhoodVector.size() - 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* put the current neighborhood on the first one
|
||||
*/
|
||||
virtual void initNeighborhood() {
|
||||
currentNH = 0;
|
||||
currentNH = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* put the current neighborhood on the next one
|
||||
*/
|
||||
virtual void nextNeighborhood() {
|
||||
currentNH++;
|
||||
currentNH++;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue