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 SemUpdater
Generates a simple exemplar of this class to test serialization.void
setEvidence
(SemEvidence evidence) Sets new evidence for the updater.
-
Constructor Details
-
SemUpdater
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a
SemUpdater
object
-
getEvidence
-
setEvidence
Sets new evidence for the updater. Once this is called, old updating results should not longer be available.- Parameters:
evidence
- aSemEvidence
object
-
getSemIm
Getter for the field
semIm
.- Returns:
- the Bayes instantiated model that is being updated.
-
getUpdatedSemIm
-
getManipulatedGraph
-
getManipulatedSemIm
-