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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the block specification associated with the algorithm.getComparisonGraph(Graph graph) Returns an undirected graph used for comparison.Retrieves the data type required by the algorithm.Returns a description of the MimbuildBollen algorithm.Retrieves the parameters for the current instance of theFactorAnalysisclass.search(DataModel dataModel, Parameters parameters) Executes a factor analysis search on the given data model using the provided parameters.voidsetBlockSpec(BlockSpec blockSpec) Sets the block specification to be used by the MimbuildBollen algorithm.
-
Constructor Details
-
MimbuildBollen
public MimbuildBollen()Constructs a new instance of the algorithm.
-
-
Method Details
-
search
Executes a factor analysis search on the given data model using the provided parameters.- Specified by:
searchin interfaceAlgorithm- 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
Retrieves the data type required by the algorithm.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- The data type required by the algorithm, which in this case is
DataType.Mixed.
-
getComparisonGraph
Returns an undirected graph used for comparison.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The undirected graph for comparison.
-
getDescription
Returns a description of the MimbuildBollen algorithm.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- The description of the algorithm.
-
getParameters
Retrieves the parameters for the current instance of theFactorAnalysisclass.- Specified by:
getParametersin interfaceHasParameters- Returns:
- a list of strings representing the parameters for the factor analysis.
-
getBlockSpec
Retrieves the block specification associated with the algorithm.- Returns:
- The current block specification of type
BlockSpec.
-
setBlockSpec
Sets the block specification to be used by the MimbuildBollen algorithm.- Specified by:
setBlockSpecin interfaceExtraLatentStructureAlgorithm- Parameters:
blockSpec- the block specification of typeBlockSpecto set
-