Package edu.cmu.tetrad.search.utils
Class BayesImParser
java.lang.Object
edu.cmu.tetrad.search.utils.BayesImParser
Takes an xml element representing a bayes im and converts it to a BayesIM
- Version:
- $Id: $Id
- Author:
- mattheweasterday
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBayesIm
(nu.xom.Element element) Takes an xml representation of a Bayes IM and reinstantiates the IM.void
setUseDisplayNames
(boolean useDisplayNames) Sets whether to use display names.
-
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
Takes an xml representation of a Bayes IM and reinstantiates the IM.- Parameters:
element
- the xml of the IM- Returns:
- the BayesIM
-