Package edu.cmu.tetrad.search
Class OrderedLocalMarkovProperty
java.lang.Object
edu.cmu.tetrad.search.OrderedLocalMarkovProperty
Utility class for computing the ordered local Markov property of a maximal ancestral graph (MAG). The ordered local
Markov property defines conditional independencies for each node in the graph conditional on its Markov blanket.
The main functionality of this class is represented by the static method getModel(Graph mag) which computes a
set of IndependenceFacts representing the ordered local Markov property for a given MAG.
This class is not meant to be instantiated.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<IndependenceFact> Computes the ordered local Markov property for a maximal ancestral graph (MAG).
-
Method Details
-
getModel
Computes the ordered local Markov property for a maximal ancestral graph (MAG). The method generates a set of independence facts representing the conditional independencies implied by the MAG.- Parameters:
mag- The input maximal ancestral graph (MAG) represented as a graph object. Must be a valid legal MAG; otherwise, anIllegalArgumentExceptionis thrown.- Returns:
- A set of
IndependenceFactobjects that represent the conditional independencies for the given input MAG based on the ordered local Markov property. - Throws:
IllegalArgumentException- if the graph is not a legal MAG.
-