|
||||||||||
| 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 SANeighbourhoodpublic void resetNbUsed()
resetNbUsed in interface SANeighbourhoodpublic java.lang.String toString()
SANeighbourhood
toString in interface SANeighbourhoodtoString in class java.lang.Objectpublic void computeNeighbour(SASolution solution)
computeNeighbour in interface SANeighbourhoodsolution - public void returnToPreviousSolution(SASolution solution)
returnToPreviousSolution in interface SANeighbourhoodsolution - public int getNbNeighbour()
getNbNeighbour in interface SANeighbourhood
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||