|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.touchgraph.graphlayout.graphelements.GESUtils
public class GESUtils
GESUtils is a set of functions that return information about a GraphEltSet
| Constructor Summary | |
|---|---|
GESUtils()
|
|
| Method Summary | |
|---|---|
static Hashtable |
calculateDistances(GraphEltSet ges,
Node focusNode,
int radius)
|
static Hashtable |
calculateDistances(GraphEltSet ges,
Node focusNode,
int radius,
int maxAddEdgeCount,
int maxExpandEdgeCount,
boolean unidirectional)
Returns a hashtable of Node-Integer pairs, where integers are the minimum distance from the focusNode to any given Node, and the Nodes in the Hashtable are all within radius distance from the focusNode. |
static Collection |
getLargestConnectedSubgraph(GraphEltSet ges)
A temporary function that returns the largest connected subgraph in a GraphEltSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GESUtils()
| Method Detail |
|---|
public static Hashtable calculateDistances(GraphEltSet ges,
Node focusNode,
int radius,
int maxAddEdgeCount,
int maxExpandEdgeCount,
boolean unidirectional)
Nodes with edge degrees of more then maxAddEdgeCount are not added to the hashtable, and those with edge degrees of more than maxExpandEdgeCount are added but not expanded.
If unidirectional is set to true, then edges are only followed in the forward direction.
public static Hashtable calculateDistances(GraphEltSet ges,
Node focusNode,
int radius)
public static Collection getLargestConnectedSubgraph(GraphEltSet ges)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||