Package edu.cmu.tetrad.session
Interface SessionListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
SessionAdapter
Listens for SessionEvents on a Session--nodes being added or removed, parents being added or removed, models being
created or destroyed.
- Author:
- josephramsey
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addingEdge
(SessionEvent event) Indicates that the model is contemplating adding an edge (but hasn't yet).void
executionStarted
(SessionEvent event) Indicates that a new execution of a simulation edu.cmu.tetrad.study has begun.void
modelCreated
(SessionEvent event) Indicates that a model has been created for a node.void
modelDestroyed
(SessionEvent event) Indicates that a model has been destroyed for a node.void
modelUnclear
(SessionEvent event) Indicates that the createModel method has been called but there is more than one model consistent with the parents, so a choice has to be made.void
nodeAdded
(SessionEvent event) Indicates that a node has been added.void
nodeRemoved
(SessionEvent event) Indicates that a node has been removed.void
parentAdded
(SessionEvent event) Indicates that a parent has been added to a node.void
parentRemoved
(SessionEvent event) Indicates that a parent has been removed from a node.void
repetitionChanged
(SessionEvent event) Indicates that the repetition of some node has changed.
-
Method Details
-
nodeAdded
Indicates that a node has been added. -
nodeRemoved
Indicates that a node has been removed. -
parentAdded
Indicates that a parent has been added to a node. Note that this implies a child is added to the parent. -
parentRemoved
Indicates that a parent has been removed from a node. Note that this implies a child is removed from the parent. -
modelCreated
Indicates that a model has been created for a node. -
modelDestroyed
Indicates that a model has been destroyed for a node. -
modelUnclear
Indicates that the createModel method has been called but there is more than one model consistent with the parents, so a choice has to be made. -
executionStarted
Indicates that a new execution of a simulation edu.cmu.tetrad.study has begun. (Some parameter objects need to be reset for every execution. -
repetitionChanged
Indicates that the repetition of some node has changed. -
addingEdge
Indicates that the model is contemplating adding an edge (but hasn't yet).
-