Package edu.cmu.tetrad.session
Class SessionAdapter
java.lang.Object
edu.cmu.tetrad.session.SessionAdapter
- All Implemented Interfaces:
- SessionListener,- EventListener
Basic implementation of SessionListener with empty methods.
- Author:
- Joseph Ramsey
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddingEdge(SessionEvent event) Indicates that the model is contemplating adding an edge (but hasn't yet).voidexecutionStarted(SessionEvent event) Indicates that a new execution of a simulation edu.cmu.tetrad.study has begun.voidmodelCreated(SessionEvent event) Indicates that a model has been created for a node.voidmodelDestroyed(SessionEvent event) Indicates that a model has been destroyed for a node.voidmodelUnclear(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.voidnodeAdded(SessionEvent event) Indicates that a node has been added.voidnodeRemoved(SessionEvent event) Indicates that a node has been removed.voidparentAdded(SessionEvent event) Indicates that a parent has been added to a node.voidparentRemoved(SessionEvent event) Indicates that a parent has been removed from a node.voidrepetitionChanged(SessionEvent event) Indicates that the repetition of some node has changed.
- 
Constructor Details- 
SessionAdapterpublic SessionAdapter()
 
- 
- 
Method Details- 
nodeAddedIndicates that a node has been added.- Specified by:
- nodeAddedin interface- SessionListener
 
- 
nodeRemovedIndicates that a node has been removed.- Specified by:
- nodeRemovedin interface- SessionListener
 
- 
parentAddedIndicates that a parent has been added to a node. Note that this implies a child is added to the parent.- Specified by:
- parentAddedin interface- SessionListener
 
- 
parentRemovedIndicates that a parent has been removed from a node. Note that this implies a child is removed from the parent.- Specified by:
- parentRemovedin interface- SessionListener
 
- 
modelCreatedIndicates that a model has been created for a node.- Specified by:
- modelCreatedin interface- SessionListener
 
- 
modelDestroyedIndicates that a model has been destroyed for a node.- Specified by:
- modelDestroyedin interface- SessionListener
 
- 
modelUnclearIndicates 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.- Specified by:
- modelUnclearin interface- SessionListener
 
- 
executionStartedIndicates that a new execution of a simulation edu.cmu.tetrad.study has begun. (Some parameter objects need to be reset for every execution.- Specified by:
- executionStartedin interface- SessionListener
 
- 
repetitionChangedIndicates that the repetition of some node has changed.- Specified by:
- repetitionChangedin interface- SessionListener
 
- 
addingEdgeIndicates that the model is contemplating adding an edge (but hasn't yet).- Specified by:
- addingEdgein interface- SessionListener
 
 
-