Record Class MarkovCheck.MarkovCheckRecord

java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.MarkovCheck.MarkovCheckRecord
Record Components:
adInd - The Anderson-Darling p-value for the independent case.
adDep - The Anderson-Darling p-value for the dependent case.
binIndep - The Binomial p-value for the independent case.
binDep - The Binomial p-value for the dependent case.
fracDepInd - The fraction of dependent judgments for the independent case.
fracDepDep - The fraction of dependent judgments for the dependent case.
numTestsInd - The number of tests for the independent case.
numTestsDep - The number of tests for the dependent case.
Enclosing class:
MarkovCheck

public static record MarkovCheck.MarkovCheckRecord(double adInd, double adDep, double binIndep, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep) extends Record
A single record for the results of the Markov check.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MarkovCheckRecord(double adInd, double adDep, double binIndep, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep)
    Creates an instance of a MarkovCheckRecord record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the adDep record component.
    double
    Returns the value of the adInd record component.
    double
    Returns the value of the binDep record component.
    double
    Returns the value of the binIndep record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    double
    Returns the value of the fracDepDep record component.
    double
    Returns the value of the fracDepInd record component.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the numTestsDep record component.
    int
    Returns the value of the numTestsInd record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

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

    • MarkovCheckRecord

      public MarkovCheckRecord(double adInd, double adDep, double binIndep, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep)
      Creates an instance of a MarkovCheckRecord record class.
      Parameters:
      adInd - the value for the adInd record component
      adDep - the value for the adDep record component
      binIndep - the value for the binIndep record component
      binDep - the value for the binDep record component
      fracDepInd - the value for the fracDepInd record component
      fracDepDep - the value for the fracDepDep record component
      numTestsInd - the value for the numTestsInd record component
      numTestsDep - the value for the numTestsDep 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 '=='.
      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.
    • adInd

      public double adInd()
      Returns the value of the adInd record component.
      Returns:
      the value of the adInd record component
    • adDep

      public double adDep()
      Returns the value of the adDep record component.
      Returns:
      the value of the adDep record component
    • binIndep

      public double binIndep()
      Returns the value of the binIndep record component.
      Returns:
      the value of the binIndep record component
    • binDep

      public double binDep()
      Returns the value of the binDep record component.
      Returns:
      the value of the binDep record component
    • fracDepInd

      public double fracDepInd()
      Returns the value of the fracDepInd record component.
      Returns:
      the value of the fracDepInd record component
    • fracDepDep

      public double fracDepDep()
      Returns the value of the fracDepDep record component.
      Returns:
      the value of the fracDepDep record component
    • numTestsInd

      public int numTestsInd()
      Returns the value of the numTestsInd record component.
      Returns:
      the value of the numTestsInd record component
    • numTestsDep

      public int numTestsDep()
      Returns the value of the numTestsDep record component.
      Returns:
      the value of the numTestsDep record component