public interface DynamicStatistics extends Statistics
The dynamic statistic execution is a three-steps process:
execute() method is called to init the statistic
with the graph and attribute model.loop() method is called with the
network at this interval as parameter.end() method is finally called.| Modifier and Type | Method and Description |
|---|---|
void |
end()
Called at the end of the process after all loops.
|
void |
execute(org.gephi.graph.api.GraphModel graphModel)
First method to be executed in the dynamic statistic process.
|
org.gephi.graph.api.Interval |
getBounds()
Returns the min and max bounds.
|
double |
getTick()
Returns the tick.
|
double |
getWindow()
Returns the window duration
|
void |
loop(org.gephi.graph.api.GraphView window,
org.gephi.graph.api.Interval interval)
Iteration of the dynamic statistics algorithm on a new interval.
|
void |
setBounds(org.gephi.graph.api.Interval bounds)
Sets the minimum and maximum bound
|
void |
setTick(double tick)
Sets the tick.
|
void |
setWindow(double window)
Sets the window duration
|
getReportvoid execute(org.gephi.graph.api.GraphModel graphModel)
execute in interface StatisticsgraphModel - the graph modelvoid loop(org.gephi.graph.api.GraphView window,
org.gephi.graph.api.Interval interval)
interval.window - a snapshot of the graph at the current intervalinterval - the interval of the current snapshotvoid end()
void setBounds(org.gephi.graph.api.Interval bounds)
bounds - the min and max boundsvoid setWindow(double window)
window - the window durationvoid setTick(double tick)
tick - the tickdouble getWindow()
double getTick()
org.gephi.graph.api.Interval getBounds()
Copyright © 2007–2017. All rights reserved.