Class GraphoidAxioms.GraphoidIndFact

java.lang.Object
edu.cmu.tetrad.search.utils.GraphoidAxioms.GraphoidIndFact
Enclosing class:
GraphoidAxioms

public static class GraphoidAxioms.GraphoidIndFact extends Object
Represents a graphoid independence fact--i.e., a fact in a general independence model (IM) X _||_Y | Z.
  • Constructor Details

    • GraphoidIndFact

      public GraphoidIndFact(Set<Node> X, Set<Node> Y, Set<Node> Z)
      Constructor.
      Parameters:
      X - The set of nodes X.
      Y - The set of nodes Y.
      Z - The set of nodes Z.
  • Method Details

    • getX

      public Set<Node> getX()
      Returns the set of nodes X.
      Returns:
      The set of nodes X.
    • getY

      public Set<Node> getY()
      Returns the set of nodes Y.
      Returns:
      The set of nodes Y.
    • getZ

      public Set<Node> getZ()
      Returns the set of nodes Z.
      Returns:
      The set of nodes Z.
    • hashCode

      public int hashCode()
      Returns the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code.
    • equals

      public boolean equals(Object o)
      Returns whether this object is equal to another.
      Overrides:
      equals in class Object
      Parameters:
      o - The other object.
      Returns:
      True, if so.
    • toString

      public String toString()
      Returns a string representation of this object.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.