Class BayesImParser

java.lang.Object
edu.cmu.tetrad.search.utils.BayesImParser

public class BayesImParser extends Object
Takes an xml element representing a bayes im and converts it to a BayesIM
Author:
mattheweasterday
  • Constructor Details

    • BayesImParser

      public BayesImParser()
      Creates a new BayesImParser.
  • Method Details

    • setUseDisplayNames

      public void setUseDisplayNames(boolean useDisplayNames)
      Sets whether to use display names.
      Parameters:
      useDisplayNames - True, if so.
    • getBayesIm

      public BayesIm getBayesIm(nu.xom.Element element)
      Takes an xml representation of a Bayes IM and reinstantiates the IM
      Parameters:
      element - the xml of the IM
      Returns:
      the BayesIM