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 SessionNodeSessionNode.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 TypeMethodDescriptionbooleanSessionNode.addChild(SessionNode child) Adds a child to the node, provided this node can be added as a parent to the child node.voidSession.addNode(SessionNode node) Adds the given node to the session, provided the node is in a freshly created state.> 0booleanSessionNode.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.booleanSessionNode.addParent2(SessionNode parent) Same as addParent except tests if this has already been created.booleanSession.contains(SessionNode node) booleanSessionNode.containsChild(SessionNode child) booleanSimulationStudy.createDescendantModels(SessionNode sessionNode, boolean overwrite) voidSimulationStudy.execute(SessionNode sessionNode, boolean overwrite) Executes the given node the specified number of times.voidSessionSupport.fireModelCreated(SessionNode node) Fires an event indicating that a new model has been created for the given session node in the session.voidSessionSupport.fireModelDestroyed(SessionNode node) Fires an event indicating that the model for the given session node in the session has been destroyed.voidSessionSupport.fireModelUnclear(SessionNode node) Fires an event indicating that the model for the given session node in the session has been destroyed.voidSessionSupport.fireNodeAdded(SessionNode node) Fires an event indicating that a session node has been added to the session.voidSessionSupport.fireNodeRemoved(SessionNode node) Fires an event indicating that a sesison node has been removed from the session.voidSessionSupport.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.voidSessionSupport.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.voidSessionSupport.fireRepetitionChanged(SessionNode node) Fires an event indicating that the model for the given session node in the session has been destroyed.static SetSimulationStudy.getDescendants(SessionNode node) static intSimulationStudy.getRepetition(SessionNode node) Gets the repeition of the given node.booleanSessionNode.isConsistentParent(SessionNode parent) booleanSessionNode.isConsistentParent(SessionNode parent, List<SessionNode> existingNodes) booleanSessionNode.isStructurallyIdentical(SessionNode node) Tests whether two session nodes that are not necessarily object identical are nevertheless identical in structure.static booleanModificationRegistery.modelHasChanged(SessionNode sessionNode) static voidModificationRegistery.registerEditor(SessionNode sessionNode, JComponent editor) Registers an editor which could modify model.booleanSessionNode.removeChild(SessionNode child) Removes a child from the node.voidSession.removeNode(SessionNode node) Removes the given node from the session, removing any connectivity the node might have to other objects.> 0booleanSessionNode.removeParent(SessionNode parent) Removes a parent from the node.voidSimulationStudy.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 voidModificationRegistery.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 TypeMethodDescriptionvoidSession.addNodeList(List<SessionNode> nodes) Adds a list of nodes to the session.booleanSessionNode.assignClasses(Class[] constructorTypes, Class[] modelTypes, boolean exact, List<SessionNode> existingNodes) booleanSessionNode.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.