org.jocl.cloth
Class ClusterSetsCreator

java.lang.Object
  extended by org.jocl.cloth.ClusterSetsCreator

 class ClusterSetsCreator
extends java.lang.Object

A class for creating the EdgeData objects for lists of edge lists that do not have common vertices.


Method Summary
(package private) static
<T extends de.javagl.simplemesh.Edge>
EdgeData[][]
createClusterSets(java.util.Collection<T> edges, int numClusters)
          Create the EdgeData objects for the clustered sets of edges of the given collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createClusterSets

static <T extends de.javagl.simplemesh.Edge> EdgeData[][] createClusterSets(java.util.Collection<T> edges,
                                                                            int numClusters)
Create the EdgeData objects for the clustered sets of edges of the given collection

Type Parameters:
T - The edge type
Parameters:
edges - The edges
numClusters - The number of clusters
Returns:
The independent set data