Class SemUpdater

java.lang.Object
edu.cmu.tetrad.sem.SemUpdater
All Implemented Interfaces:
TetradSerializable, Serializable

public class SemUpdater extends Object implements TetradSerializable
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.
Author:
josephramsey
See Also:
  • Constructor Details

    • SemUpdater

      public SemUpdater(SemIm semIm)
  • Method Details

    • serializableInstance

      public static SemUpdater serializableInstance()
      Generates a simple exemplar of this class to test serialization.
    • getEvidence

      public SemEvidence getEvidence()
    • setEvidence

      public void setEvidence(SemEvidence evidence)
      Sets new evidence for the updater. Once this is called, old updating results should not longer be available.
    • getSemIm

      public SemIm getSemIm()
      Returns:
      the Bayes instantiated model that is being updated.
    • getUpdatedSemIm

      public SemIm getUpdatedSemIm()
      See http://en.wikipedia.org/wiki/Multivariate_normal_distribution.
    • getManipulatedGraph

      public Graph getManipulatedGraph()
    • getManipulatedSemIm

      public SemIm getManipulatedSemIm()