Record Class TrekMeasurementModelBuilderBoss.MeasurementBuildResult

java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.mimic.TrekMeasurementModelBuilderBoss.MeasurementBuildResult
Record Components:
spec - the block specification
graph - the measurement graph
latents - the latent variables
observedChildren - the observed child variables
parentPool - the measured parent pool
variables - the measured variables in matrix order
matrix - the correlation matrix
sampleSize - the sample size
alpha - 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 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 a MeasurementBuildResult record class.
      Parameters:
      spec - the value for the spec record component
      graph - the value for the graph record component
      latents - the value for the latents record component
      observedChildren - the value for the observedChildren record component
      parentPool - the value for the parentPool record component
      variables - the value for the variables record component
      matrix - the value for the matrix record component
      sampleSize - the value for the sampleSize record component
      alpha - the value for the alpha 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • spec

      public BlockSpec spec()
      Returns the value of the spec record component.
      Returns:
      the value of the spec record component
    • graph

      public Graph graph()
      Returns the value of the graph record component.
      Returns:
      the value of the graph record component
    • latents

      public List<Node> latents()
      Returns the value of the latents record component.
      Returns:
      the value of the latents record component
    • observedChildren

      public List<Node> observedChildren()
      Returns the value of the observedChildren record component.
      Returns:
      the value of the observedChildren record component
    • parentPool

      public List<Node> parentPool()
      Returns the value of the parentPool record component.
      Returns:
      the value of the parentPool record component
    • variables

      public List<Node> variables()
      Returns the value of the variables record component.
      Returns:
      the value of the variables record component
    • matrix

      public org.ejml.simple.SimpleMatrix matrix()
      Returns the value of the matrix record component.
      Returns:
      the value of the matrix record component
    • sampleSize

      public int sampleSize()
      Returns the value of the sampleSize record component.
      Returns:
      the value of the sampleSize record component
    • alpha

      public double alpha()
      Returns the value of the alpha record component.
      Returns:
      the value of the alpha record component