Class MimbuildBollen

java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.other.MimbuildBollen
All Implemented Interfaces:
Algorithm, ExtraLatentStructureAlgorithm, LatentStructureAlgorithm, HasParameters, TetradSerializable, Serializable

@Algorithm(name="Mimbuild (Bollen)", command="mimbuild-bollen", algoType=search_for_structure_over_latents) @Bootstrapping public class MimbuildBollen extends Object implements Algorithm, ExtraLatentStructureAlgorithm
Mimbuild Bollen.
Version:
$Id: $Id
Author:
josephramsey
See Also:
  • Constructor Details

    • MimbuildBollen

      public MimbuildBollen()
      Constructs a new instance of the algorithm.
  • Method Details

    • search

      public Graph search(DataModel dataModel, Parameters parameters)
      Executes a factor analysis search on the given data model using the provided parameters.
      Specified by:
      search in interface Algorithm
      Parameters:
      dataModel - The data model to perform the factor analysis on.
      parameters - The parameters for the factor analysis.
      Returns:
      The resulting graph after performing the factor analysis.
      Throws:
      IllegalArgumentException - If the data model is not a continuous dataset.
    • getDataType

      public DataType getDataType()
      Retrieves the data type required by the algorithm.
      Specified by:
      getDataType in interface Algorithm
      Returns:
      The data type required by the algorithm, which in this case is DataType.Mixed.
    • getComparisonGraph

      public Graph getComparisonGraph(Graph graph)
      Returns an undirected graph used for comparison.
      Specified by:
      getComparisonGraph in interface Algorithm
      Parameters:
      graph - The true directed graph, if there is one.
      Returns:
      The undirected graph for comparison.
    • getDescription

      public String getDescription()
      Returns a description of the MimbuildBollen algorithm.
      Specified by:
      getDescription in interface Algorithm
      Returns:
      The description of the algorithm.
    • getParameters

      public List<String> getParameters()
      Retrieves the parameters for the current instance of the FactorAnalysis class.
      Specified by:
      getParameters in interface HasParameters
      Returns:
      a list of strings representing the parameters for the factor analysis.
    • getBlockSpec

      public BlockSpec getBlockSpec()
      Retrieves the block specification associated with the algorithm.
      Returns:
      The current block specification of type BlockSpec.
    • setBlockSpec

      public void setBlockSpec(BlockSpec blockSpec)
      Sets the block specification to be used by the MimbuildBollen algorithm.
      Specified by:
      setBlockSpec in interface ExtraLatentStructureAlgorithm
      Parameters:
      blockSpec - the block specification of type BlockSpec to set