public class Online_evGen_ipOverWdm extends Online_evGen_generalGenerator
Online_evGen_generalGenerator
generator (see its Javadoc for further details), and is basically used to:
Online_evGen_generalGenerator
module.Online_evGen_generalGenerator
module operates.
|
Constructor and Description |
---|
Online_evGen_ipOverWdm() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description.
|
List<com.net2plan.utils.Triple<String,String,String>> |
getParameters()
Returns the list of required parameters, where the first item of each element
is the parameter name, the second one is the parameter value, and the third
one is the parameter description.
|
void |
initialize(com.net2plan.interfaces.networkDesign.NetPlan initialNetPlan,
Map<String,String> algorithmParameters,
Map<String,String> simulationParameters,
Map<String,String> net2planParameters)
Initializes the algorithm (i.e. reading input parameters).
|
void |
processEvent(com.net2plan.interfaces.networkDesign.NetPlan currentNetPlan,
com.net2plan.interfaces.simulation.SimEvent event)
Processes the next event in the future event list.
|
public Online_evGen_ipOverWdm()
public String getDescription()
com.net2plan.interfaces.simulation.IEventGenerator
getDescription
in interface com.net2plan.internal.IExternal
getDescription
in class Online_evGen_generalGenerator
public List<com.net2plan.utils.Triple<String,String,String>> getParameters()
com.net2plan.interfaces.simulation.IEventGenerator
Returns the list of required parameters, where the first item of each element is the parameter name, the second one is the parameter value, and the third one is the parameter description.
It is possible to define type-specific parameters if the default value is set according to the following rules (but user is responsible of checking in its own code):
.class
or .jar
file where the code is located, the class name,
and a set of parameters (pair of key-values separated by commas, where individual
key and value are separated with an equal symbol. The same applies to reports (#report#),
event generators (#eventGenerator#) and event processors (#eventProcessor#).getParameters
in interface com.net2plan.internal.IExternal
getParameters
in class Online_evGen_generalGenerator
public void initialize(com.net2plan.interfaces.networkDesign.NetPlan initialNetPlan, Map<String,String> algorithmParameters, Map<String,String> simulationParameters, Map<String,String> net2planParameters)
com.net2plan.interfaces.simulation.IEventGenerator
initialize
in class Online_evGen_generalGenerator
initialNetPlan
- Initial network planalgorithmParameters
- A key-value map with specific algorithm parameters.simulationParameters
- A key-value map with simulation parametersnet2planParameters
- A key-value map with Net2Plan
-wide configuration optionspublic void processEvent(com.net2plan.interfaces.networkDesign.NetPlan currentNetPlan, com.net2plan.interfaces.simulation.SimEvent event)
com.net2plan.interfaces.simulation.IEventGenerator
scheduleEvent
method.processEvent
in class Online_evGen_generalGenerator
currentNetPlan
- Current network planevent
- Current event to be processed