Uses of Class
edu.cmu.tetrad.session.SessionNode
Packages that use SessionNode
-
Uses of SessionNode in edu.cmu.tetrad.session
Methods in edu.cmu.tetrad.session that return SessionNodeModifier and TypeMethodDescriptionSessionEvent.getChild()
SessionEvent.getNode()
SessionEvent.getParent()
static SessionNode
SessionNode.serializableInstance()
Generates a simple exemplar of this class to test serialization.Methods in edu.cmu.tetrad.session that return types with arguments of type SessionNodeModifier and TypeMethodDescriptionSessionNode.getChildren()
Session.getNodes()
SessionNode.getParents()
Methods in edu.cmu.tetrad.session with parameters of type SessionNodeModifier and TypeMethodDescriptionboolean
SessionNode.addChild
(SessionNode child) Adds a child to the node, provided this node can be added as a parent to the child node.void
Session.addNode
(SessionNode node) Adds the given node to the session, provided the node is in a freshly created state.> 0boolean
SessionNode.addParent
(SessionNode parent) Adds a parent to this node provided the resulting set of parents taken together provides some combination of possible model classes that can be used as a constructor to some one of the model classes for this node.boolean
SessionNode.addParent2
(SessionNode parent) Same as addParent except tests if this has already been created.boolean
Session.contains
(SessionNode node) boolean
SessionNode.containsChild
(SessionNode child) boolean
SimulationStudy.createDescendantModels
(SessionNode sessionNode, boolean overwrite) void
SimulationStudy.execute
(SessionNode sessionNode, boolean overwrite) Executes the given node the specified number of times.void
SessionSupport.fireModelCreated
(SessionNode node) Fires an event indicating that a new model has been created for the given session node in the session.void
SessionSupport.fireModelDestroyed
(SessionNode node) Fires an event indicating that the model for the given session node in the session has been destroyed.void
SessionSupport.fireModelUnclear
(SessionNode node) Fires an event indicating that the model for the given session node in the session has been destroyed.void
SessionSupport.fireNodeAdded
(SessionNode node) Fires an event indicating that a session node has been added to the session.void
SessionSupport.fireNodeRemoved
(SessionNode node) Fires an event indicating that a sesison node has been removed from the session.void
SessionSupport.fireParentAdded
(SessionNode parent, SessionNode child) Fires an event indicating that a parent has been added from the given parent to the given child session node in the session.void
SessionSupport.fireParentRemoved
(SessionNode parent, SessionNode child) Fires an event indicating that a parent has been removed from the given parent to the given child session node in the session.void
SessionSupport.fireRepetitionChanged
(SessionNode node) Fires an event indicating that the model for the given session node in the session has been destroyed.static Set
SimulationStudy.getDescendants
(SessionNode node) static int
SimulationStudy.getRepetition
(SessionNode node) Gets the repeition of the given node.boolean
SessionNode.isConsistentParent
(SessionNode parent) boolean
SessionNode.isConsistentParent
(SessionNode parent, List<SessionNode> existingNodes) boolean
SessionNode.isStructurallyIdentical
(SessionNode node) Tests whether two session nodes that are not necessarily object identical are nevertheless identical in structure.static boolean
ModificationRegistery.modelHasChanged
(SessionNode sessionNode) static void
ModificationRegistery.registerEditor
(SessionNode sessionNode, JComponent editor) Registers an editor which could modify model.boolean
SessionNode.removeChild
(SessionNode child) Removes a child from the node.void
Session.removeNode
(SessionNode node) Removes the given node from the session, removing any connectivity the node might have to other objects.> 0boolean
SessionNode.removeParent
(SessionNode parent) Removes a parent from the node.void
SimulationStudy.setRepetition
(SessionNode node, int repetition) Sets the number of times the given node (and all of its children) will be executed each time it is encountered in a depth first traversal of the tree.static void
ModificationRegistery.unregisterSessionNode
(SessionNode sessionNode) Removes the given session node from the list of sessions nodes for which changes have been made.Method parameters in edu.cmu.tetrad.session with type arguments of type SessionNodeModifier and TypeMethodDescriptionvoid
Session.addNodeList
(List<SessionNode> nodes) Adds a list of nodes to the session.boolean
SessionNode.assignClasses
(Class[] constructorTypes, Class[] modelTypes, boolean exact, List<SessionNode> existingNodes) boolean
SessionNode.isConsistentParent
(SessionNode parent, List<SessionNode> existingNodes) Constructors in edu.cmu.tetrad.session with parameters of type SessionNodeModifierConstructorDescriptionSessionEvent
(Object source, SessionNode node, int type) Constructs an event where one session node is involved--session node added or removed, model created or destroyed.SessionEvent
(Object source, SessionNode parent, SessionNode child, int type) Constructs an event where two session nodes are involved--parent added or removed.