Class Images
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.multi.Images
- All Implemented Interfaces:
- Algorithm,- MultiDataSetAlgorithm,- HasKnowledge,- HasParameters,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="IMaGES",
           command="images",
           algoType=forbid_latent_common_causes,
           dataType=All)
@Bootstrapping
public class Images
extends Object
implements MultiDataSetAlgorithm, HasKnowledge, UsesScoreWrapper
Wraps the IMaGES algorithm for continuous variables.
 
Requires that the parameter 'randomSelectionSize' be set to indicate how many datasets should be taken at a time (randomly). This cannot given multiple values.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionImages()Constructor for Images.Images(ScoreWrapper score) Constructor for Images.
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns a comparison graph based on the true directed graph, if there is one.Returns the type of the data set.Returns the description of this method.Retrieves the knowledge of the current instance.Retrieves the list of parameters required for the algorithm.Retrieves the score wrapper object.search(DataModel dataSet, Parameters parameters) Searches for a graph using the given data set and parameters.search(List<DataModel> dataSets, Parameters parameters) Searches for a graph using the given data sets and parameters.voidSets the IndependenceWrapper for this algorithm.voidsetKnowledge(Knowledge knowledge) Sets the knowledge object for this instance.voidsetScoreWrapper(ScoreWrapper score) Sets the score wrapper for the algorithm.
- 
Constructor Details- 
ImagesConstructor for Images. - Parameters:
- score- a- ScoreWrapperobject
 
- 
Imagespublic Images()Constructor for Images. 
 
- 
- 
Method Details- 
searchSearches for a graph using the given data sets and parameters.- Specified by:
- searchin interface- MultiDataSetAlgorithm
- Parameters:
- dataSets- The data sets to search on.
- parameters- The parameters for the search.
- Returns:
- The resulting graph.
- Throws:
- IllegalArgumentException- If the meta option is unrecognized.
- InterruptedException- if any.
 
- 
searchSearches for a graph using the given data set and parameters.- Specified by:
- searchin interface- Algorithm
- Parameters:
- dataSet- The data set to run the search on.
- parameters- The parameters of the search.
- Returns:
- The resulting graph.
- Throws:
- InterruptedException- if any.
 
- 
getComparisonGraphReturns a comparison graph based on the true directed graph, if there is one.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionReturns the description of this method.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- the description of this method.
 
- 
getDataTypeReturns the type of the data set.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- the type of the data set
 
- 
getParametersRetrieves the list of parameters required for the algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters required for the algorithm.
 
- 
getKnowledgeRetrieves the knowledge of the current instance.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- The knowledge of the current instance.
 
- 
setKnowledgeSets the knowledge object for this instance.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- The knowledge object to be set. Cannot be null.
 
- 
getScoreWrapperRetrieves the score wrapper object.- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
- Returns:
- The score wrapper object.
 
- 
setScoreWrapperSets the score wrapper for the algorithm.- Specified by:
- setScoreWrapperin interface- MultiDataSetAlgorithm
- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
- Parameters:
- score- The score wrapper to be set.
 
- 
setIndTestWrapperSets the IndependenceWrapper for this algorithm.- Specified by:
- setIndTestWrapperin interface- MultiDataSetAlgorithm
- Parameters:
- test- The IndependenceWrapper object to be set. Cannot be null.
 
 
-