Package edu.cmu.tetrad.search
Class MimbuildTrek
java.lang.Object
edu.cmu.tetrad.search.MimbuildTrek
Deprecated.
Implements Mimbuild using the theory of treks and ranks.
 
This class is configured to respect knowledge of forbidden and required edges, including knowledge of temporal tiers.
- Version:
- $Id: $Id
- Author:
- adambrodie
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.The clustering used.Deprecated.The full graph discovered.Deprecated.The covariance matrix over the latents that is implied by the clustering.intDeprecated.Clusters smaller than this size will be tossed out.doubleDeprecated.The p-value of the model.Deprecated.Does the search and returns the graph.voidsetAlpha(double alpha) Deprecated.The alpha to use.voidsetEpsilon(double epsilon) Deprecated.Sets the parameter convergence threshold.voidsetKnowledge(Knowledge knowledge) Deprecated.The knowledge to use in the search.voidsetMinClusterSize(int minClusterSize) Deprecated.Sets the minimum cluster size.
- 
Constructor Details- 
MimbuildTrekpublic MimbuildTrek()Deprecated.Empty constructor.
 
- 
- 
Method Details- 
searchpublic Graph search(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) throws InterruptedException Deprecated.Does the search and returns the graph.- Parameters:
- clustering- A clustering of the variables, each of which is explained by a single latent.
- latentNames- The names of the latents, which cannot be known by the clustering algorithm.
- measuresCov- The covariance matrix over the measured variables, from the data.
- Returns:
- A graph over the latents.
- Throws:
- InterruptedException- If the search is interrupted.
 
- 
getClusteringDeprecated.The clustering used.- Returns:
- This clustering.
 
- 
setAlphapublic void setAlpha(double alpha) Deprecated.The alpha to use.- Parameters:
- alpha- This alpha.
 
- 
setKnowledgeDeprecated.The knowledge to use in the search.- Parameters:
- knowledge- This knowledge.
 
- 
getLatentsCovDeprecated.The covariance matrix over the latents that is implied by the clustering.- Returns:
- This covariance matrix.
 
- 
getpValuepublic double getpValue()Deprecated.The p-value of the model.- Returns:
- This p-value.
 
- 
getFullGraphDeprecated.The full graph discovered.- Returns:
- the allowUnfaithfulness discovered graph, with latents and indicators.
 
- 
setEpsilonpublic void setEpsilon(double epsilon) Deprecated.Sets the parameter convergence threshold. Default = 1e-4.- Parameters:
- epsilon- This threshold.
 
- 
getMinClusterSizepublic int getMinClusterSize()Deprecated.Clusters smaller than this size will be tossed out.- Returns:
- a int
 
- 
setMinClusterSizepublic void setMinClusterSize(int minClusterSize) Deprecated.Sets the minimum cluster size.- Parameters:
- minClusterSize- The minimum cluster size to be set.
- Throws:
- IllegalArgumentException- If the minimum cluster size is less than 3.
 
 
-