Record Class SimulationStudy.ConditionResult
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.harness.tsc.SimulationStudy.ConditionResult
- Record Components:
sampleSize- the nominal sample sizen.algorithmSummaries- one summary per algorithm.
- Enclosing class:
SimulationStudy
public static record SimulationStudy.ConditionResult(int sampleSize, List<SimulationStudy.AlgorithmSummary> algorithmSummaries)
extends Record
Results for one sample-size level within a study.
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionConditionResult(int sampleSize, List<SimulationStudy.AlgorithmSummary> algorithmSummaries) Creates an instance of aConditionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmSummariesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thesampleSizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConditionResult
Creates an instance of aConditionResultrecord class.- Parameters:
sampleSize- the value for thesampleSizerecord componentalgorithmSummaries- the value for thealgorithmSummariesrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
sampleSize
public int sampleSize()Returns the value of thesampleSizerecord component.- Returns:
- the value of the
sampleSizerecord component
-
algorithmSummaries
Returns the value of thealgorithmSummariesrecord component.- Returns:
- the value of the
algorithmSummariesrecord component
-