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 aMarkovCheckRecord
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
adDep()
Returns the value of theadDep
record component.double
adInd()
Returns the value of theadInd
record component.double
binDep()
Returns the value of thebinDep
record component.double
binIndep()
Returns the value of thebinIndep
record component.final boolean
Indicates whether some other object is "equal to" this one.double
Returns the value of thefracDepDep
record component.double
Returns the value of thefracDepInd
record component.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of thenumTestsDep
record component.int
Returns the value of thenumTestsInd
record component.final String
toString()
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 aMarkovCheckRecord
record class.- Parameters:
adInd
- the value for theadInd
record componentadDep
- the value for theadDep
record componentbinIndep
- the value for thebinIndep
record componentbinDep
- the value for thebinDep
record componentfracDepInd
- the value for thefracDepInd
record componentfracDepDep
- the value for thefracDepDep
record componentnumTestsInd
- the value for thenumTestsInd
record componentnumTestsDep
- the value for thenumTestsDep
record component
-
-
Method Details
-
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. -
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. -
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
public double adInd()Returns the value of theadInd
record component.- Returns:
- the value of the
adInd
record component
-
adDep
public double adDep()Returns the value of theadDep
record component.- Returns:
- the value of the
adDep
record component
-
binIndep
public double binIndep()Returns the value of thebinIndep
record component.- Returns:
- the value of the
binIndep
record component
-
binDep
public double binDep()Returns the value of thebinDep
record component.- Returns:
- the value of the
binDep
record component
-
fracDepInd
public double fracDepInd()Returns the value of thefracDepInd
record component.- Returns:
- the value of the
fracDepInd
record component
-
fracDepDep
public double fracDepDep()Returns the value of thefracDepDep
record component.- Returns:
- the value of the
fracDepDep
record component
-
numTestsInd
public int numTestsInd()Returns the value of thenumTestsInd
record component.- Returns:
- the value of the
numTestsInd
record component
-
numTestsDep
public int numTestsDep()Returns the value of thenumTestsDep
record component.- Returns:
- the value of the
numTestsDep
record component
-