|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_leipzig.cvk.data.cluster.Eval
public class Eval
Only undirected supported.
![]() |
![]() |
Field Summary |
---|
Fields inherited from interface de.uni_leipzig.cvk.data.GraphReaderSettings |
---|
EDGE_WEIGHT, MAX_EDGE_WEIGHT, NODE_NAME |
Fields inherited from interface de.uni_leipzig.cvk.data.cluster.ClusterTableSettings |
---|
CLUSTER_COLUMN_ID, CLUSTER_COLUMN_ID_TYPE, CLUSTER_COLUMN_NAME, CLUSTER_COLUMN_NAME_TYPE, CLUSTER_COLUMN_SIZE, CLUSTER_COLUMN_SIZE_TYPE |
Constructor Summary | |
---|---|
Eval()
|
Method Summary | |
---|---|
static boolean |
allNodesInCluster(prefuse.data.Graph graph,
prefuse.data.Table clusterTable)
|
static boolean |
checkClusterSize(prefuse.data.Table clusterTable)
checks all cluster size > 1 |
static boolean |
checkClusterSize(prefuse.data.Table clusterTable,
int size)
checks the size of all cluster |
static double |
flow(prefuse.data.Graph graph,
java.util.TreeSet<java.lang.String> cluster)
gets the total weight of edges with nodes in cluster and neighbors aren't in cluster |
static double |
getRelativeFlow(prefuse.data.Graph graph,
prefuse.data.Table clusterTable)
|
static double |
getRelativeFlow(prefuse.data.Graph graph,
java.util.TreeSet<java.lang.String> p_cluster)
|
static boolean |
isHarden(prefuse.data.Table clusterTable)
gets true if a disjoint sets of clusters is given in clusterTable |
static double |
ncut(prefuse.data.Graph graph,
prefuse.data.Table clusters)
|
static double |
silhouetteMean(prefuse.data.Graph graph,
prefuse.data.Table p_clusterTable)
computes average of average silhouette for all clusters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Eval()
Method Detail |
---|
public static boolean allNodesInCluster(prefuse.data.Graph graph, prefuse.data.Table clusterTable)
public static boolean checkClusterSize(prefuse.data.Table clusterTable)
public static boolean checkClusterSize(prefuse.data.Table clusterTable, int size)
clusterTable
- size
- size to check
public static double flow(prefuse.data.Graph graph, java.util.TreeSet<java.lang.String> cluster)
public static double getRelativeFlow(prefuse.data.Graph graph, prefuse.data.Table clusterTable)
public static double getRelativeFlow(prefuse.data.Graph graph, java.util.TreeSet<java.lang.String> p_cluster)
public static boolean isHarden(prefuse.data.Table clusterTable)
public static double ncut(prefuse.data.Graph graph, prefuse.data.Table clusters)
public static double silhouetteMean(prefuse.data.Graph graph, prefuse.data.Table p_clusterTable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |