Tutos updated
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1739 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
d9674919b3
commit
070fdd01cc
2 changed files with 77 additions and 48 deletions
|
|
@ -44,9 +44,11 @@ using namespace std;
|
|||
// Define types of the representation solution, different neighbors and neighborhoods
|
||||
//-----------------------------------------------------------------------------
|
||||
typedef eoInt<unsigned int> Queen; //Permutation (Queen's problem representation)
|
||||
|
||||
typedef moSwapNeighbor<Queen> swapNeighbor ; //swap Neighbor
|
||||
typedef moShiftNeighbor<Queen> shiftNeighbor; //shift Neighbor
|
||||
typedef moSwapNeighborhood<Queen> swapNeighborhood; //classical swap Neighborhood
|
||||
|
||||
typedef moShiftNeighbor<Queen> shiftNeighbor; //shift Neighbor
|
||||
typedef moOrderNeighborhood<shiftNeighbor> orderShiftNeighborhood; //order shift Neighborhood (Indexed)
|
||||
typedef moRndWithoutReplNeighborhood<shiftNeighbor> rndWithoutReplShiftNeighborhood; //random without replacement shift Neighborhood (Indexed)
|
||||
typedef moRndWithReplNeighborhood<shiftNeighbor> rndWithReplShiftNeighborhood; //random with replacement shift Neighborhood (Indexed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue