Class OrderedLocalMarkovProperty

java.lang.Object
edu.cmu.tetrad.search.OrderedLocalMarkovProperty

public class OrderedLocalMarkovProperty extends Object
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 Details

    • getModel

      public static Set<IndependenceFact> getModel(Graph mag)
      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, an IllegalArgumentException is thrown.
      Returns:
      A set of IndependenceFact objects 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.