Package edu.cmu.tetrad.search
Class ClusterUtils
java.lang.Object
edu.cmu.tetrad.search.ClusterUtils
Some general utilities for dealing with clustering input and output.
- Author:
- Joseph Ramsey
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclustersToPartition
(Clusters clusters, List<Node> variables) convertIntToList
(List<int[]> partition, List<Node> nodes) 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
-
convertIntToList
-
clustersToPartition
-
partitionToClusters
-
convertSearchGraph
-
mimClusters
-
logClusters
-
generateLatentNames
-