public interface IAlgorithmMultiLayer
Contract that must be fulfilled such that an multilayer algorithm can be run in Net2Plan
.
Integration of new multilayer algorithms follows a similar scheme as for
IAlgorithm
. In this case,
the algorithm receives a list of NetPlan
objects, each one representing a network layer.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executeAlgorithm(java.util.List<NetPlan> netPlans,
java.util.Map<java.lang.String,java.lang.String> algorithmParameters,
java.util.Map<java.lang.String,java.lang.String> net2planParameters)
Execute the algorithm.
|
java.lang.String |
getDescription()
Returns the description.
|
java.util.List<Triple<java.lang.String,java.lang.String,java.lang.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.
|
java.lang.String getDescription()
java.util.List<Triple<java.lang.String,java.lang.String,java.lang.String>> getParameters()
java.lang.String executeAlgorithm(java.util.List<NetPlan> netPlans, java.util.Map<java.lang.String,java.lang.String> algorithmParameters, java.util.Map<java.lang.String,java.lang.String> net2planParameters)
netPlans
- A set of network plans which serves as input and outputalgorithmParameters
- A key-value map with specific algorithm parameters.net2planParameters
- A key-value map with Net2Plan
-wide configuration optionsString