Package | Description |
---|---|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
com.net2plan.utils |
General utility static methods.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Pair<java.lang.Integer,java.lang.Integer>> |
FlexGridUtils.computeAvailableSpectrumVoids(boolean[] slotAvailabilityVector)
Computes the list of spectral voids (list of available contiguous slots)
from a slot availability vector of a path.
|
Modifier and Type | Method and Description |
---|---|
static int |
FlexGridUtils.computeMaximumRequests(java.util.List<Pair<java.lang.Integer,java.lang.Integer>> availableSpectrumVoids,
int numSlots)
Computes the maximum number of requests (each one measured in number of slots) which
can be allocated in a set of spectrum voids.
|
Modifier and Type | Method and Description |
---|---|
static <A,B> Pair<A,B> |
Pair.of(A a,
B b)
This factory allows the pair to be created using inference to obtain the generic types.
|