Package | Description |
---|---|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
Modifier and Type | Field and Description |
---|---|
WDMUtils.RSA |
WDMUtils.LightpathAdd.backupRSA
The RSA of the backup lightpath to add as a protection segment (or null if none)
|
WDMUtils.RSA |
WDMUtils.LightpathAdd.primaryRSA
The RSA of the primary route of the lightpath to add
|
WDMUtils.RSA |
WDMUtils.LightpathModify.rsa
The new RSA of the lightpath
|
Modifier and Type | Method and Description |
---|---|
static Route |
WDMUtils.addLightpath(Demand demand,
WDMUtils.RSA rsa,
double lineRateGbps)
Creates a new lightpath with the given RSA, as a
Route object. |
static void |
WDMUtils.allocateResources(WDMUtils.RSA rsa,
DoubleMatrix2D frequencySlot2FiberOccupancy_se,
DoubleMatrix1D nodeRegeneratorOccupancy)
Updates
frequencySlot2FiberOccupancy_se and nodeRegeneratorOccupancy to consider that a new lightpath is occupying
the resources given by rsa . |
boolean |
WDMUtils.RSA.equals(WDMUtils.RSA rsa)
Returns true if this RSA has the same sequence of links, occupied slots and regenerators as the given RSA
|
static boolean |
WDMUtils.isAllocatableRSASet(DoubleMatrix2D frequencySlot2FiberOccupancy_se,
WDMUtils.RSA... rsas)
Returns
true if all the RSAs are allocatable (the needed frequency slots are free in the given sequence of links), false otherwise. |
static void |
WDMUtils.releaseResources(WDMUtils.RSA rsa,
DoubleMatrix2D frequencySlot2FiberOccupancy_se,
DoubleMatrix1D nodeRegeneratorOccupancy)
Updates
frequencySlot2FiberOccupancy_se to consider that a lightpath is releasing
used frequency slots, and nodeRegeneratorOccupancy to consider that the lightpath releases the occupied regenerators |
static void |
WDMUtils.setLightpathRSAAttributes(Route lp,
WDMUtils.RSA rsa,
boolean initializeThePrimaryRoute)
Sets the attributes of the given
Route object to reflect the RSA occupation in current, primary or a backup path. |
Constructor and Description |
---|
LightpathAdd(Demand demand,
WDMUtils.RSA rsa,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(Demand demand,
WDMUtils.RSA primaryRSA,
WDMUtils.RSA backupRSA,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(NetworkLayer layer,
WDMUtils.RSA rsa,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(NetworkLayer layer,
WDMUtils.RSA primaryRSA,
WDMUtils.RSA backupRSA,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathModify(Route lp,
WDMUtils.RSA rsa,
double carriedTraffic)
Constructor to generate a new
LightpathModify object. |
Copyright © 2018. All rights reserved.