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(GraphModel graphModel)
First method to be executed in the dynamic statistic process.
|
Interval |
getBounds()
Returns the min and max bounds.
|
double |
getTick()
Returns the tick.
|
double |
getWindow()
Returns the window duration
|
void |
loop(GraphView window,
Interval interval)
Iteration of the dynamic statistics algorithm on a new interval.
|
void |
setBounds(Interval bounds)
Sets the minimum and maximum bound
|
void |
setTick(double tick)
Sets the tick.
|
void |
setWindow(double window)
Sets the window duration
|
getReport
void execute(GraphModel graphModel)
execute
in interface Statistics
graphModel
- the graph modelvoid loop(GraphView window, Interval interval)
interval
.window
- a snapshot of the graph at the current intervalinterval
- the interval of the current snapshotvoid end()
void setBounds(Interval bounds)
bounds
- the min and max boundsvoid setWindow(double window)
window
- the window durationvoid setTick(double tick)
tick
- the tickdouble getWindow()
double getTick()
Interval getBounds()
Copyright © 2007–2015 Gephi Consortium. All rights reserved.