Package edu.cmu.tetrad.session
Class SimulationStudy
java.lang.Object
edu.cmu.tetrad.session.SimulationStudy
Runs a simulation edu.cmu.tetrad.study for a session which traverses a subtree of the
 session graph in depth-first order and executes each node encountered a
 specified number of times.
- Author:
- Joseph Ramsey
- 
Constructor SummaryConstructorsConstructorDescriptionSimulationStudy(Session session) Constructs a new simulation edu.cmu.tetrad.study for the given session.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a session listener.booleancreateDescendantModels(SessionNode sessionNode, boolean overwrite) voidexecute(SessionNode sessionNode, boolean overwrite) Executes the given node the specified number of times.static SetgetDescendants(SessionNode node) static intgetRepetition(SessionNode node) Gets the repeition of the given node.voidsetRepetition(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.
- 
Constructor Details- 
SimulationStudyConstructs a new simulation edu.cmu.tetrad.study for the given session.
 
- 
- 
Method Details- 
setRepetitionSets 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.- Parameters:
- repetition- the repetition, an integer > 0.
 
- 
getRepetitionGets the repeition of the given node. If the repetition of a node has not been set, it is assumed to be 1.
- 
executeExecutes the given node the specified number of times.
- 
createDescendantModels
- 
addSessionListenerAdds a session listener.
- 
getDescendants
- 
getSession
 
-