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.ElementSinkedgeAdded in class org.graphstream.stream.SinkAdapterpublic void edgeRemoved(String sourceId, long timeId, String edgeId)
edgeRemoved in interface org.graphstream.stream.ElementSinkedgeRemoved in class org.graphstream.stream.SinkAdapterpublic void graphCleared(String sourceId, long timeId)
graphCleared in interface org.graphstream.stream.ElementSinkgraphCleared in class org.graphstream.stream.SinkAdapterCopyright © 2015. All rights reserved.