Package edu.cmu.tetrad.sem
Class SemUpdater
java.lang.Object
edu.cmu.tetrad.sem.SemUpdater
- All Implemented Interfaces:
TetradSerializable,Serializable
Calculates updated structural equation models given evidence of the form X1=x1',...,The main task of such and
algorithm is to calculate P(X = x' | evidence), where evidence takes the form of a Proposition over the variables in
the Bayes net, possibly with additional information about which variables in the Bayes net have been manipulated.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldevidence.getManipulatedGraph.getManipulatedSemIm.getSemIm()Getter for the fieldsemIm.See http://en.wikipedia.org/wiki/Multivariate_normal_distribution.static SemUpdaterGenerates a simple exemplar of this class to test serialization.voidsetEvidence(SemEvidence evidence) Sets new evidence for the updater.
-
Constructor Details
-
SemUpdater
Constructor for SemUpdater.
- Parameters:
semIm- aSemImobject
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a
SemUpdaterobject
-
getEvidence
Getter for the field
evidence.- Returns:
- a
SemEvidenceobject
-
setEvidence
Sets new evidence for the updater. Once this is called, old updating results should not longer be available.- Parameters:
evidence- aSemEvidenceobject
-
getSemIm
Getter for the field
semIm.- Returns:
- the Bayes instantiated model that is being updated.
-
getUpdatedSemIm
See http://en.wikipedia.org/wiki/Multivariate_normal_distribution.- Returns:
- a
SemImobject
-
getManipulatedGraph
getManipulatedGraph.
- Returns:
- a
Graphobject
-
getManipulatedSemIm
getManipulatedSemIm.
- Returns:
- a
SemImobject
-