|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.graphstream.stream.SinkAdapter
org.graphstream.algorithm.AlgorithmComputationTrigger
public class AlgorithmComputationTrigger
Provides a way to trigger the computation of an algorithm according to a type of events.
| Nested Class Summary | |
|---|---|
static class |
AlgorithmComputationTrigger.Mode
Defines when the computation is triggered. |
| Constructor Summary | |
|---|---|
AlgorithmComputationTrigger(AlgorithmComputationTrigger.Mode mode,
Algorithm algo)
|
|
| Method Summary | |
|---|---|
AlgorithmComputationTrigger.Mode |
getMode()
Get the trigger mode. |
void |
setMode(AlgorithmComputationTrigger.Mode mode)
Set the trigger mode. |
void |
stepBegins(String sourceId,
long timeId,
double step)
|
| Methods inherited from class org.graphstream.stream.SinkAdapter |
|---|
edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemoved |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlgorithmComputationTrigger(AlgorithmComputationTrigger.Mode mode,
Algorithm algo)
| Method Detail |
|---|
public void setMode(AlgorithmComputationTrigger.Mode mode)
mode - public AlgorithmComputationTrigger.Mode getMode()
public void stepBegins(String sourceId,
long timeId,
double step)
stepBegins in interface org.graphstream.stream.ElementSinkstepBegins in class org.graphstream.stream.SinkAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||