Package edu.cmu.tetrad.search.utils
Class ClusterUtils
java.lang.Object
edu.cmu.tetrad.search.utils.ClusterUtils
Provides some general utilities for dealing with clustering input and output.
The method of this class are used only internally and so are not documented for public use.
- Author:
- josephramsey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclustersToPartition
(Clusters clusters, List<Node> variables) static List<int[]>
static Graph
convertSearchGraph
(List<int[]> clusters, String[] varNames) generateLatentNames
(int total) static void
static Clusters
mimClusters
(Graph mim) static Clusters
partitionToClusters
(List<List<Node>> partition)
-
Field Details
-
LATENT_PREFIX
- See Also:
-
-
Constructor Details
-
ClusterUtils
public ClusterUtils()
-
-
Method Details
-
convertListToInt
-
clustersToPartition
-
partitionToClusters
-
convertSearchGraph
-
mimClusters
-
logClusters
-
generateLatentNames
-