urv.emulator.topology.graph
Class GraphChanges
java.lang.Object
urv.emulator.topology.graph.GraphChanges
public class GraphChanges
- extends java.lang.Object
This class keeps all the changes that must be performed
on a graph for a certain instant
- Author:
- Marcel Arrufat Arias
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GraphChanges
public GraphChanges()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
addGraphEvent
public void addGraphEvent(int timeInterval,
GraphEvent information)
performChangesUntilTimeInterval
public boolean performChangesUntilTimeInterval(java.lang.Integer currentTimeInterval,
NetworkGraph<Node,Weight> networkGraph)
- Performs the changes stored whose timeInterval is less than
currentTimeInterval
- Parameters:
currentTimeInterval
- networkGraph
-