Gephi Toolkit Javadoc

org.gephi.statistics.spi
Interface Statistics

All Known Subinterfaces:
DynamicStatistics
All Known Implementing Classes:
ClusteringCoefficient, ConnectedComponents, Degree, DynamicClusteringCoefficient, DynamicDegree, DynamicNbEdges, DynamicNbNodes, EigenvectorCentrality, GraphDensity, GraphDistance, Hits, Modularity, PageRank, WeightedDegree

public interface Statistics

Define a Statistics/Metrics execution task, that performs analysis and write results as new attribute columns and/or HTML report.

Author:
Patrick J. McSweeney, Mathieu Bastian
See Also:
StatisticsBuilder

Method Summary
 void execute(GraphModel graphModel, AttributeModel attributeModel)
          Executes the statistics algorithm.
 java.lang.String getReport()
          Returns an HTML string that displays the statistics result.
 

Method Detail

execute

void execute(GraphModel graphModel,
             AttributeModel attributeModel)
Executes the statistics algorithm.

It is preferable to work on visible graphs, to be synchronized with the visualization.

Parameters:
graphModel - The graph topology
attributeModel - The elements attributes, and where to write table results

getReport

java.lang.String getReport()
Returns an HTML string that displays the statistics result. Can contains complex HTML snippets and images.

Returns:
An HTML string that displays the results for this Statistics

Gephi Toolkit Javadoc