Record Class TrekMeasurementModelBuilderBoss.MeasurementBuildResult
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.mimic.TrekMeasurementModelBuilderBoss.MeasurementBuildResult
- Record Components:
spec- the block specificationgraph- the measurement graphlatents- the latent variablesobservedChildren- the observed child variablesparentPool- the measured parent poolvariables- the measured variables in matrix ordermatrix- the correlation matrixsampleSize- the sample sizealpha- the alpha level
- Enclosing class:
TrekMeasurementModelBuilderBoss
public static record TrekMeasurementModelBuilderBoss.MeasurementBuildResult(BlockSpec spec, Graph graph, List<Node> latents, List<Node> observedChildren, List<Node> parentPool, List<Node> variables, org.ejml.simple.SimpleMatrix matrix, int sampleSize, double alpha)
extends Record
Result of building the shared measurement model.
- Author:
- josephramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublealpha()Returns the value of thealpharecord component.final booleanIndicates whether some other object is "equal to" this one.graph()Returns the value of thegraphrecord component.final inthashCode()Returns a hash code value for this object.latents()Returns the value of thelatentsrecord component.org.ejml.simple.SimpleMatrixmatrix()Returns the value of thematrixrecord component.Returns the value of theobservedChildrenrecord component.Returns the value of theparentPoolrecord component.intReturns the value of thesampleSizerecord component.spec()Returns the value of thespecrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevariablesrecord component.
-
Constructor Details
-
MeasurementBuildResult
public MeasurementBuildResult(BlockSpec spec, Graph graph, List<Node> latents, List<Node> observedChildren, List<Node> parentPool, List<Node> variables, org.ejml.simple.SimpleMatrix matrix, int sampleSize, double alpha) Creates an instance of aMeasurementBuildResultrecord class.- Parameters:
spec- the value for thespecrecord componentgraph- the value for thegraphrecord componentlatents- the value for thelatentsrecord componentobservedChildren- the value for theobservedChildrenrecord componentparentPool- the value for theparentPoolrecord componentvariables- the value for thevariablesrecord componentmatrix- the value for thematrixrecord componentsampleSize- the value for thesampleSizerecord componentalpha- the value for thealpharecord 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. -
spec
-
graph
-
latents
-
observedChildren
Returns the value of theobservedChildrenrecord component.- Returns:
- the value of the
observedChildrenrecord component
-
parentPool
Returns the value of theparentPoolrecord component.- Returns:
- the value of the
parentPoolrecord component
-
variables
-
matrix
-
sampleSize
public int sampleSize()Returns the value of thesampleSizerecord component.- Returns:
- the value of the
sampleSizerecord component
-
alpha
-