|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.statistics.plugin.GraphDensity
public class GraphDensity
Constructor Summary | |
---|---|
GraphDensity()
|
Method Summary | |
---|---|
void |
execute(GraphModel graphModel,
AttributeModel attributeModel)
Executes the statistics algorithm. |
double |
getDensity()
|
boolean |
getDirected()
|
java.lang.String |
getReport()
Returns an HTML string that displays the statistics result. |
void |
setDirected(boolean isDirected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphDensity()
Method Detail |
---|
public void setDirected(boolean isDirected)
public boolean getDirected()
public double getDensity()
public void execute(GraphModel graphModel, AttributeModel attributeModel)
Statistics
It is preferable to work on visible graphs, to be synchronized with the visualization.
execute
in interface Statistics
graphModel
- The graph topologyattributeModel
- The elements attributes, and where to write table resultspublic java.lang.String getReport()
Statistics
getReport
in interface Statistics
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |