|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.antree.Graph.Entry
public static class Graph.Entry
This class is used as the key of an entry in the pheromone matrix.
Field Summary | |
---|---|
static Graph.Entry |
ROOT
The Id instance representing the start of the graph. |
Method Summary | |
---|---|
int |
getIndex()
Returns the index of this entry in the pheromone matrix. |
long |
hits()
Returns the number of times that this id was used. |
void |
increment()
Increments the number of hits by one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Graph.Entry ROOT
Id
instance representing the start of the graph.
Method Detail |
---|
public int getIndex()
public long hits()
public void increment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |