|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
fr.lifl.jedi.gui.display.interactionDisplayer.model.tree.PerformedInteractionsDisplayableNode
fr.lifl.jedi.gui.display.interactionDisplayer.model.tree.PerformedInteractionsInstanceNode
public class PerformedInteractionsInstanceNode
A node that represents the interactions performed by a particular agent instance.
| JEDI V 2.3 |
| Created the 16 juin 2009 |
| Yoann Kubera |
| SMAC Team (Systèmes Multi-Agents et Comportement) |
| LIFL (Laboratoire d'Informatique Fondamentale de Lille) |
| University of Lille, France |
| Field Summary |
|---|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
PerformedInteractionsInstanceNode(Agent a,
int step)
Constructor of the node that represents the data related to an agent instance. |
|
| Method Summary | |
|---|---|
void |
buildTreeAccordingToOptions(OptionsModel model,
int step)
Builds the tree according to the options provided in the model. |
void |
tagAsAlive(int step)
Tag the agent represented by this node as alive. |
void |
tagAsDead(int step)
Tag the agent represented by this node as dead. |
void |
updateSourceParticipation(AbstractRealizableTuple<?> tuple,
int step)
Updates the data structure to take into account that the agent was the source of an interaction during a time step. |
void |
updateTargetParticipation(AbstractRealizableTuple<?> tuple,
int step)
Updates the data structure to take into account that the agent was the target of an interaction during a time step. |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PerformedInteractionsInstanceNode(Agent a,
int step)
a - the agent for which this instance gathers data.step - the time step during which the agent was put first in the environment.| Method Detail |
|---|
public void tagAsAlive(int step)
step - The simulation step for which the agent is tagged as alive.public void tagAsDead(int step)
step - The simulation step for which the agent is tagged as dead.
public void updateSourceParticipation(AbstractRealizableTuple<?> tuple,
int step)
tuple - The tuple that represents the interaction in which the agent plays
a source role.step - The simulation step during which the interaction occurred.
public void updateTargetParticipation(AbstractRealizableTuple<?> tuple,
int step)
tuple - The tuple that represents the interaction in which the agent plays
a target role.step - The simulation step during which the interaction occurred.
public void buildTreeAccordingToOptions(OptionsModel model,
int step)
PerformedInteractionsDisplayableNode
buildTreeAccordingToOptions in class PerformedInteractionsDisplayableNodemodel - The model in which display options are stored.step - The current time step of the simulation.PerformedInteractionsDisplayableNode.buildTreeAccordingToOptions(fr.lifl.jedi.gui.display.interactionDisplayer.model.OptionsModel, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||