|
||||||||||
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.PerformedInteractionsStepNode
public class PerformedInteractionsStepNode
A node that represents the interactions performed by a particular agent instance during a particular simulation step.
JEDI V 2.3 |
Created the 16th June 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 | |
---|---|
PerformedInteractionsStepNode(int step)
Constructor of a node that represents the interactions performed by a particular agent instance during a particular simulation step. |
Method Summary | |
---|---|
void |
buildTreeAccordingToOptions(OptionsModel model,
int step)
Builds the tree according to the options provided in the model. |
void |
putSourceParticipation(AbstractRealizableTuple<?> tuple)
Tell that the agent performed an interaction during the simulation step. |
void |
putTargetParticipation(AbstractRealizableTuple<?> tuple)
Tell that the agent undergone an interaction during the simulation step. |
void |
setAdded()
Tell that the agent was added to the environment during this time step. |
void |
setRemoved()
Tell that the agent was removed from the environment during this 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 PerformedInteractionsStepNode(int step)
step
- The number of the simulation step.Method Detail |
---|
public void setAdded()
public void setRemoved()
public void putSourceParticipation(AbstractRealizableTuple<?> tuple)
tuple
- The tuple that represents the performed interaction.public void putTargetParticipation(AbstractRealizableTuple<?> tuple)
tuple
- The tuple that represents the undergone interaction.public void buildTreeAccordingToOptions(OptionsModel model, int step)
PerformedInteractionsDisplayableNode
buildTreeAccordingToOptions
in class PerformedInteractionsDisplayableNode
model
- 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 |