|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.SAMTE.model.RandomOneChangeNBH
public class RandomOneChangeNBH
Creation date: 28-Feb-2005 15:45:03
Constructor Summary | |
---|---|
RandomOneChangeNBH()
|
Method Summary | |
---|---|
void |
computeNeighbour(SASolution solution)
Generate a neighbour of the solution given in argument and modify the given solution. |
CandidatePathList |
getCpl()
|
int |
getNbNeighbour()
Return the size of the neighbourhood |
int |
getNbUsed()
|
void |
resetNbUsed()
|
void |
returnToPreviousSolution(SASolution solution)
Return to the previous solution. |
void |
setCpl(SinglePathCPL cpl)
|
java.lang.String |
toString()
The name of the neighbourhood |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RandomOneChangeNBH()
Method Detail |
---|
public CandidatePathList getCpl()
public void setCpl(SinglePathCPL cpl)
public int getNbUsed()
getNbUsed
in interface SANeighbourhood
public void resetNbUsed()
resetNbUsed
in interface SANeighbourhood
public java.lang.String toString()
SANeighbourhood
toString
in interface SANeighbourhood
toString
in class java.lang.Object
public void computeNeighbour(SASolution solution)
computeNeighbour
in interface SANeighbourhood
solution
- public void returnToPreviousSolution(SASolution solution)
returnToPreviousSolution
in interface SANeighbourhood
solution
- public int getNbNeighbour()
getNbNeighbour
in interface SANeighbourhood
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |