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.
Version:
$Id: $Id
Author:
josephramsey
See Also:
  • Constructor Details

    • SemUpdater

      public SemUpdater(SemIm semIm)

      Constructor for SemUpdater.

      Parameters:
      semIm - a SemIm object
  • Method Details

    • serializableInstance

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

      public SemEvidence getEvidence()

      Getter for the field evidence.

      Returns:
      a SemEvidence object
    • setEvidence

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

      public SemIm getSemIm()

      Getter for the field semIm.

      Returns:
      the Bayes instantiated model that is being updated.
    • getUpdatedSemIm

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

      public Graph getManipulatedGraph()

      getManipulatedGraph.

      Returns:
      a Graph object
    • getManipulatedSemIm

      public SemIm getManipulatedSemIm()

      getManipulatedSemIm.

      Returns:
      a SemIm object