Package | Description |
---|---|
com.net2plan.interfaces.networkDesign |
Provides a set of classes and interfaces for the network design tool.
|
com.net2plan.interfaces.networkDesign.dynamicSrgs | |
com.net2plan.interfaces.simulation |
Provides a set of classes for the online simulator tool.
|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
com.net2plan.research.niw.networkModel |
Modifier and Type | Method and Description |
---|---|
NetPlan |
NetPlan.copy()
Returns a deep copy of the current design.
|
NetPlan |
NetworkElement.getNetPlan()
Returns the
NetPlan object to which this element is attached |
static NetPlan |
NetPlan.loadFromFile(File file)
Static factory method to get a
NetPlan object from a .n2p file. |
NetPlan |
NetPlan.mergeIntoThisDesign(NetPlan otherDesign)
Replaces the partition of the current design by this design.
|
NetPlan |
NetPlan.restrictDesign(SortedSet<Node> selectedNodes)
First computes the nodes to keep in the planning: these are the selected nodes,
the nodes involved in the demands/mDemands between them in this layer,
the nodes involved in the links at this layer that carry traffic between the selected nodes,
and the nodes associated to the links/demands at lower layers,
that carry the traffic between the selected nodes in the given layer, or carry traffic
at lower layers, of the links at this layer between the selected nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
NetPlan.assignFrom(NetPlan netPlan)
Assigns the information from the input
NetPlan . |
void |
NetworkElement.checkAttachedToNetPlanObject(NetPlan np)
Checks whether this element (demand, node, route...) was not already removed from the
NetPlan object. |
void |
NetPlan.copyFrom(NetPlan originNetPlan)
Removes all information from the current
NetPlan and copy the information from the input NetPlan . |
String |
IAlgorithm.executeAlgorithm(NetPlan netPlan,
Map<String,String> algorithmParameters,
Map<String,String> net2planParameters)
Execute the algorithm.
|
String |
IReport.executeReport(NetPlan netPlan,
Map<String,String> reportParameters,
Map<String,String> net2planParameters)
Executes a report.
|
static SharedRiskGroup |
SharedRiskGroup.getDummyEmptyStaticSrg(NetPlan np) |
static SortedSet<SharedRiskGroup> |
SharedRiskGroup.getSrgListCompletedWithDummyNoFailureStateIfNeeded(Collection<SharedRiskGroup> sourceSrgs,
NetPlan np) |
abstract void |
DynamicSrgImplementation.initialize(String initializationString,
NetPlan np) |
boolean |
NetPlan.isDeepCopy(NetPlan np2)
Returns true if the given NetPlan object contains the same network than this, meaning that all the network elements
are a copy in every aspect.
|
NetPlan |
NetPlan.mergeIntoThisDesign(NetPlan otherDesign)
Replaces the partition of the current design by this design.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamicSrgAllBidiLinksTwoNodes.initialize(String initializationString,
NetPlan np) |
Modifier and Type | Method and Description |
---|---|
abstract void |
IEventGenerator.initialize(NetPlan initialNetPlan,
Map<String,String> algorithmParameters,
Map<String,String> simulationParameters,
Map<String,String> net2planParameters)
Initializes the algorithm (i.e.
|
void |
ICombinedEventProcessor.initialize(NetPlan initialNetPlan,
Map<String,String> algorithmParameters,
Map<String,String> simulationParameters,
Map<String,String> net2planParameters) |
void |
ICombinedEventGenerator.initialize(NetPlan initialNetPlan,
Map<String,String> algorithmParameters,
Map<String,String> simulationParameters,
Map<String,String> net2planParameters) |
abstract void |
IEventProcessor.initialize(NetPlan initialNetPlan,
Map<String,String> algorithmParameters,
Map<String,String> simulationParameters,
Map<String,String> net2planParameters)
Initializes the algorithm (i.e.
|
abstract void |
IEventGenerator.processEvent(NetPlan currentNetPlan,
SimEvent event)
Processes the next event in the future event list.
|
abstract void |
ICombinedEventProcessor.processEvent(NetPlan currentNetPlan,
SimEvent event) |
abstract void |
ICombinedEventGenerator.processEvent(NetPlan currentNetPlan,
SimEvent event) |
abstract void |
IEventProcessor.processEvent(NetPlan currentNetPlan,
SimEvent event)
Processes the next event in the future event list.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
NetworkPerformanceMetrics.checkNetworkState(NetPlan netPlan,
Map<String,String> net2planParameters)
Checks the current network state and, maybe, returns some warnings about
link oversubscription, demand blocking, and so on.
|
static void |
WDMUtils.checkResourceAllocationClashing(NetPlan netPlan,
boolean countFailedLightpaths,
boolean checkRegeneratorsAsWavelengthConverters,
NetworkLayer... optionalLayerParameter)
Checks resource clashing: no frequency slot in the same fiber can be occupied by more than one lightpath, nor
any slot of an index higher than the fiber capacity can be occupied.
|
static Quadruple<DoubleMatrix2D,DoubleMatrix2D,DoubleMatrix1D,DoubleMatrix1D> |
IPUtils.computeCarriedTrafficFromIGPWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightVector,
NetworkLayer... optionalLayer)
Computes the resulting carried traffic according to a link weight setting
and OSPF/ECMP routing.
|
static void |
SRGUtils.configureSRGs(NetPlan netPlan,
double defaultMTTF,
double defaultMTTR,
SRGUtils.SharedRiskModel sharedRiskModel,
boolean removeExistingSRGs,
NetworkLayer... optionalLayerParameter)
Configures the SRGs into the network design at the given layer.
|
static DoubleMatrix1D |
IPUtils.getLinkWeightVector(NetPlan netPlan,
NetworkLayer... optionalLayer)
Obtains the vector of ink weights from a given a network design.
|
static Pair<DoubleMatrix2D,DoubleMatrix1D> |
WDMUtils.getNetworkSlotAndRegeneratorOcupancy(NetPlan netPlan,
boolean countFailedLightpaths,
NetworkLayer... optionalLayerParameter)
Returns the fiber occupied (columns) in each wavelength (rows), and an array with the number of occupied regenerators in each node.
|
static Pair<Map<Pair<Link,Integer>,List<Route>>,Map<Node,List<Route>>> |
WDMUtils.getNetworkSlotOccupancyMap(NetPlan netPlan,
boolean countFailedLightpaths,
NetworkLayer... optionalLayerParameter)
Returns two maps, showing the frequency slots in the links and signal regenerator in the nodes occupancies.
|
static Pair<Double,Double> |
SRGUtils.getSRGDisjointnessPercentage(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the percentage of SRG disjointness of traffic routes and their backup paths defined.
|
static String |
SRGUtils.getSRGModel(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Indicates whether SRG definition follows one of the predefined models (per
node, per link...), or 'Mixed' otherwise (or 'None' if no SRGs are defined).
|
static double |
TrafficComputationEngine.getTrafficProtectionDegree(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the fraction of the total carried traffic in the given layer that has at least one backup path defined.
|
static DoubleMatrix1D |
WDMUtils.getVectorFiberNumFrequencySlots(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the total number of frequency slots in each fiber.
|
static boolean |
SRGUtils.isSingleSRGFailureTolerant(NetPlan np,
NetworkLayer failureTolerantLayer)
Returns true if the given design is tolerant to single SRG failures at the given layer: that is, no traffic of any
unicast not multicast demand is blocked when such SRG fails
|
static boolean |
WDMUtils.isWDMFormatCorrect(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Performs some checks in a WDM network.
|
static DoubleMatrix1D |
TrafficMatrixGenerationModels.normalizeTraffic_linkCapacity_xde(NetPlan netPlan,
String solverName,
String solverLibraryName,
NetworkLayer... optionalLayerParameter)
Returns the maximum scaled version of the offered traffic vector that
can be carried by the network, provided that no link is oversubscribed.
|
static DoubleMatrix1D |
TrafficMatrixGenerationModels.normalizeTraffic_networkCapacity(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the maximum scaled version of the offered traffic vector so
that the network capacity (summation of capacity of all links) is exhausted.
|
static void |
IPUtils.setECMPForwardingRulesFromLinkWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightMap,
NetworkLayer... optionalLayer)
Sets the OSPF/ECMP forwarding rules in the given design, according to the
given IGP weight setting.
|
static void |
WDMUtils.setFibersNumFrequencySlots(NetPlan netPlan,
int numFrequencySlots,
NetworkLayer... optionalLayerParameter)
Sets the number of frequency slots available in each fiber to the same value.
|
static void |
IPUtils.setLinkWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightVector,
NetworkLayer... optionalLayer)
Sets the weight associated to each link.
|
static void |
IPUtils.setLinkWeights(NetPlan netPlan,
double linkWeight,
NetworkLayer... optionalLayer)
Sets the weight associated to every link.
|
Modifier and Type | Method and Description |
---|---|
NetPlan |
WNet.getNe() |
NetPlan |
WAbstractNetworkElement.getNetPlan()
Returns the underlying net2plan object that is giving support for this network.
|
Constructor and Description |
---|
WNet(NetPlan np) |
Copyright © 2018. All rights reserved.