|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.graphnetwork.jgrapht.graph.util.Math
public class Math
Constructor Summary | |
---|---|
Math()
|
Method Summary | |
---|---|
static float |
graphDensity(int V,
int E)
Calculates the density of a graph |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Math()
Method Detail |
---|
public static float graphDensity(int V, int E)
V
- the number of vertices of the graphE
- the number of edges of the graph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |