Package edu.cmu.tetrad.search
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
ConstructorsConstructorDescriptionMarkovCheckRecord(double adInd, double adDep, double binIndep, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep) Creates an instance of aMarkovCheckRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleadDep()Returns the value of theadDeprecord component.doubleadInd()Returns the value of theadIndrecord component.doublebinDep()Returns the value of thebinDeprecord component.doublebinIndep()Returns the value of thebinIndeprecord component.final booleanIndicates whether some other object is "equal to" this one.doubleReturns the value of thefracDepDeprecord component.doubleReturns the value of thefracDepIndrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thenumTestsDeprecord component.intReturns the value of thenumTestsIndrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aMarkovCheckRecordrecord class.- Parameters:
adInd- the value for theadIndrecord componentadDep- the value for theadDeprecord componentbinIndep- the value for thebinIndeprecord componentbinDep- the value for thebinDeprecord componentfracDepInd- the value for thefracDepIndrecord componentfracDepDep- the value for thefracDepDeprecord componentnumTestsInd- the value for thenumTestsIndrecord componentnumTestsDep- the value for thenumTestsDeprecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 '=='. -
adInd
-
adDep
-
binIndep
-
binDep
-
fracDepInd
public double fracDepInd()Returns the value of thefracDepIndrecord component.- Returns:
- the value of the
fracDepIndrecord component
-
fracDepDep
public double fracDepDep()Returns the value of thefracDepDeprecord component.- Returns:
- the value of the
fracDepDeprecord component
-
numTestsInd
public int numTestsInd()Returns the value of thenumTestsIndrecord component.- Returns:
- the value of the
numTestsIndrecord component
-
numTestsDep
public int numTestsDep()Returns the value of thenumTestsDeprecord component.- Returns:
- the value of the
numTestsDeprecord component
-