Record Class FcitSepsets.SepsetResult

java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.utils.FcitSepsets.SepsetResult
Record Components:
sepset - the separating set
pValue - the p-value of the confirming independence test, or null
Enclosing class:
FcitSepsets

public static record FcitSepsets.SepsetResult(Set<Node> sepset, Double pValue) extends Record
A found separator together with the p-value of the test that confirmed it.
Author:
josephramsey
  • Constructor Summary

    Constructors
    Constructor
    Description
    SepsetResult(Set<Node> sepset, Double pValue)
    Creates an instance of a SepsetResult record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the pValue record component.
    Returns the value of the sepset record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SepsetResult

      public SepsetResult(Set<Node> sepset, Double pValue)
      Creates an instance of a SepsetResult record class.
      Parameters:
      sepset - the value for the sepset record component
      pValue - the value for the pValue record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sepset

      public Set<Node> sepset()
      Returns the value of the sepset record component.
      Returns:
      the value of the sepset record component
    • pValue

      public Double pValue()
      Returns the value of the pValue record component.
      Returns:
      the value of the pValue record component