public class MaxSimultaneousEdgeCount
extends org.graphstream.stream.SinkAdapter
ae AB A B ae BC B C ae CD C D de BC ae DE D E de CD ae EF E F ae FG F G de EFthe maximal count of edges appearing simultaneously in the graph is 4.
Constructor and Description |
---|
MaxSimultaneousEdgeCount() |
Modifier and Type | Method and Description |
---|---|
void |
edgeAdded(String sourceId,
long timeId,
String edgeId,
String node1,
String node2,
boolean directed) |
void |
edgeRemoved(String sourceId,
long timeId,
String edgeId) |
int |
getMaxSimultaneousEdgeCount()
Get the max value.
|
void |
graphCleared(String sourceId,
long timeId) |
void |
reset()
Reset the max value.
|
public void reset()
public int getMaxSimultaneousEdgeCount()
public void edgeAdded(String sourceId, long timeId, String edgeId, String node1, String node2, boolean directed)
edgeAdded
in interface org.graphstream.stream.ElementSink
edgeAdded
in class org.graphstream.stream.SinkAdapter
public void edgeRemoved(String sourceId, long timeId, String edgeId)
edgeRemoved
in interface org.graphstream.stream.ElementSink
edgeRemoved
in class org.graphstream.stream.SinkAdapter
public void graphCleared(String sourceId, long timeId)
graphCleared
in interface org.graphstream.stream.ElementSink
graphCleared
in class org.graphstream.stream.SinkAdapter
Copyright © 2015. All rights reserved.