|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.jussieu.gla.wasa.core.TabuList
Internally used by Engine for storing Vars marked 'Tabu'.
Constructor Summary | |
TabuList(int capacity)
|
Method Summary | |
void |
clear()
Clears the TabuList. |
boolean |
contains(Var var)
Returns true if var is in the TabuList. |
int |
getCapacity()
|
int |
getSize()
Returns the size of the TabuList. |
Var[] |
getVars()
Used by NotifyingAlgorithm for
displaying TabuList content. |
void |
put(Var var)
Adds var in the TabuList. |
void |
step()
Executes one step ( corresponding to the engine step ) on the TabuList, each Var going out of the list after #getsize steps. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TabuList(int capacity)
Method Detail |
public int getCapacity()
public boolean contains(Var var)
public int getSize()
public void put(Var var) throws java.lang.CloneNotSupportedException
public void clear()
public void step()
#getsize
steps.public Var[] getVars()
NotifyingAlgorithm
for
displaying TabuList content.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |