|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.Probe
turtlekit.kernel.TurtleProbe
public class TurtleProbe
The TurtleProbe class
Constructor Summary | |
---|---|
TurtleProbe(java.lang.String group,
java.lang.String role)
build a turtleProbe on the specified group/role couple |
Method Summary | |
---|---|
AbstractAgent |
getAgentNb(int nb)
|
java.util.ListIterator |
getAgentsIterator()
return a ListIterator orver the agents that handle the group/role couple |
java.lang.String |
getCommunity()
|
java.util.List |
getCurrentAgentsList()
return a list view (a snapshot at moment t) of the agents that handle the group/role couple (in proper sequence) |
java.lang.String |
getGroup()
|
java.lang.String |
getRole()
|
java.util.ListIterator |
getShuffledAgentsIterator()
return a ListIterator that has been previously shuffled |
Turtle[] |
getTurtles()
|
int |
nbOfTurtles()
|
int |
numberOfAgents()
return the number of the agents that handle the group/role couple |
java.lang.String |
toString()
|
Methods inherited from class madkit.kernel.Probe |
---|
initialize, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TurtleProbe(java.lang.String group, java.lang.String role)
Method Detail |
---|
public Turtle[] getTurtles()
public int nbOfTurtles()
public final java.util.ListIterator getAgentsIterator()
public final java.util.ListIterator getShuffledAgentsIterator()
public final java.util.List getCurrentAgentsList()
public final int numberOfAgents()
public final AbstractAgent getAgentNb(int nb)
public final java.lang.String getCommunity()
public final java.lang.String getGroup()
public final java.lang.String getRole()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |