Class Fofc
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.cluster.Fofc
- All Implemented Interfaces:
- Algorithm,- ClusterAlgorithm,- ReturnsBootstrapGraphs,- TakesCovarianceMatrix,- HasKnowledge,- HasParameters,- TetradSerializable,- Serializable
@Algorithm(name="FOFC",
           command="fofc",
           algoType=search_for_structure_over_latents)
@Bootstrapping
public class Fofc
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, ClusterAlgorithm, TakesCovarianceMatrix
Find One Factor Clusters.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) This method returns a comparison graph that is obtained from the given true directed graph.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Returns the knowledge associated with this object.Returns a list of parameters for the search algorithm.runSearch(DataModel dataModel, Parameters parameters) Runs the search algorithm and returns the resulting graph.voidsetKnowledge(Knowledge knowledge) Sets the knowledge associated with this object.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, search
- 
Constructor Details- 
Fofcpublic Fofc()Constructor for Fofc. 
 
- 
- 
Method Details- 
runSearchRuns the search algorithm and returns the resulting graph.- Parameters:
- dataModel- The data model containing the variables.
- parameters- The parameters for the search algorithm.
- Returns:
- The resulting graph.
- Throws:
- IllegalArgumentException- if the check type parameter is unexpected.
 
- 
getComparisonGraphThis method returns a comparison graph that is obtained from the given true directed graph.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph obtained by applying the CPDAG algorithm to the true directed graph.
 
- 
getDescriptionReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the algorithm.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by the search.
 
- 
getParametersReturns a list of parameters for the search algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters for the search algorithm.
 
- 
getKnowledgeReturns the knowledge associated with this object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- the knowledge associated with this object
 
- 
setKnowledgeSets the knowledge associated with this object.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- Background knowledge.
 
 
-