org.lucci.madhoc.network
Class NetworkAlterer
java.lang.Object
org.lucci.madhoc.network.NetworkAlterer
- All Implemented Interfaces:
- SimulationListener
- Direct Known Subclasses:
- OptimizeConnectivityByUsingUMTSLinks, RandomNetworkAlterer
public abstract class NetworkAlterer
- extends java.lang.Object
- implements SimulationListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkAlterer
public NetworkAlterer()
operate
public abstract void operate(Network network)
iterationStarting
public void iterationStarting(Simulation simulation)
- Specified by:
iterationStarting
in interface SimulationListener
iterationHasCompleted
public void iterationHasCompleted(Simulation simulation)
- Specified by:
iterationHasCompleted
in interface SimulationListener
beforeTheStationsMove
public void beforeTheStationsMove(MadhocSimulation simulation)
- Specified by:
beforeTheStationsMove
in interface SimulationListener
afterTheStationsMove
public void afterTheStationsMove(MadhocSimulation simulation)
- Specified by:
afterTheStationsMove
in interface SimulationListener
beforeStationsDo
public void beforeStationsDo(MadhocSimulation simulation)
- Specified by:
beforeStationsDo
in interface SimulationListener
afterStationsDo
public void afterStationsDo(MadhocSimulation simulation)
- Specified by:
afterStationsDo
in interface SimulationListener
beforeDataTransfer
public void beforeDataTransfer(MadhocSimulation simulation)
- Specified by:
beforeDataTransfer
in interface SimulationListener
afterDataTransfer
public void afterDataTransfer(MadhocSimulation simulation)
- Specified by:
afterDataTransfer
in interface SimulationListener
beforeSensing
public void beforeSensing(MadhocSimulation simulation)
- Specified by:
beforeSensing
in interface SimulationListener
afterSensing
public void afterSensing(MadhocSimulation simulation)
- Specified by:
afterSensing
in interface SimulationListener
connectionsHaveVanished
public void connectionsHaveVanished(MadhocSimulation simulation,
java.util.Collection<Connection> removedConnections)
- Specified by:
connectionsHaveVanished
in interface SimulationListener
connectionsHaveAppeared
public void connectionsHaveAppeared(MadhocSimulation simulation,
java.util.Collection<Connection> addedConnections)
- Specified by:
connectionsHaveAppeared
in interface SimulationListener