org.gephi.statistics.plugin
Class GraphDensity
java.lang.Object
org.gephi.statistics.plugin.GraphDensity
- All Implemented Interfaces:
- Statistics
public class GraphDensity
- extends java.lang.Object
- implements Statistics
- Author:
- pjmcswee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphDensity
public GraphDensity()
setDirected
public void setDirected(boolean pDirected)
getDirected
public boolean getDirected()
getDensity
public double getDensity()
execute
public void execute(GraphModel graphModel,
AttributeModel attributeModel)
- Description copied from interface:
Statistics
- Executes the statistics algorithm.
It is preferable to work on visible graphs, to be synchronized with the
visualization.
- Specified by:
execute
in interface Statistics
- Parameters:
graphModel
- The graph topologyattributeModel
- The elements attributes, and where to write table results
execute
public void execute(Graph graph,
AttributeModel attributeModel)
getReport
public java.lang.String getReport()
- Description copied from interface:
Statistics
- Returns an HTML string that displays the statistics result. Can contains
complex HTML snippets and images.
- Specified by:
getReport
in interface Statistics
- Returns: