- CACAction - Class in com.net2plan.interfaces.cacSimulation
-
Provides a set of actions to be returned by CAC algorithms.
- CACAction.ActionType - Enum in com.net2plan.interfaces.cacSimulation
-
Type of action.
- CACEvent - Class in com.net2plan.interfaces.cacSimulation
-
Provides a set of events to be used in the CAC simulator.
- CACEvent(double, int, double, double, Map<String, String>) - Constructor for class com.net2plan.interfaces.cacSimulation.CACEvent
-
Constructor to define a 'connection request' event.
- CACEvent(double, long) - Constructor for class com.net2plan.interfaces.cacSimulation.CACEvent
-
Constructor to define a 'connection release' event.
- CACEvent.EventType - Enum in com.net2plan.interfaces.cacSimulation
-
Type of event.
- calculateIGPCost(double[], double[]) - Static method in class com.net2plan.libraries.IPUtils
-
Returns the cost of a routing scheme according to the carried traffic per
link and link capacities, assuming the IGP-WO cost model [1].
- CandidatePathList - Class in com.net2plan.libraries
-
A candidate path list is an object containing a set of paths computed for
each demand in the network.
- CandidatePathList(NetPlan, File) - Constructor for class com.net2plan.libraries.CandidatePathList
-
Initializes the candidate path list, previously stored in a system file.
- CandidatePathList(NetPlan, String...) - Constructor for class com.net2plan.libraries.CandidatePathList
-
Initializes the candidate path list, computing all the paths for each
demand.
- CandidatePathList(NetPlan, double[], String...) - Constructor for class com.net2plan.libraries.CandidatePathList
-
Initializes the candidate path list, computing all the paths for each
demand.
- CandidatePathList(NetPlan, boolean, String...) - Constructor for class com.net2plan.libraries.CandidatePathList
-
Initializes the candidate path list, computing all the paths for each
demand.
- CandidatePathList(NetPlan, boolean, double[], String...) - Constructor for class com.net2plan.libraries.CandidatePathList
-
Initializes the candidate path list, computing all the paths for each
demand.
- ceil(double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Rounds up each element of a given double
array.
- check(Map<String, String>) - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Checks the given options for validity.
- checkAttributeName(String) - Static method in class com.net2plan.utils.StringUtils
-
Checks whether an attribute name is valid according to the rules defined in
XML Specification 1.0 [XML].
- checkConsistency(NetPlan, Map<String, String>) - Static method in class com.net2plan.libraries.WDMUtils
-
Performs extra checks to those applicable to every network design, especially
focused on WDM networks.
- checkLayerConsistency(List<NetPlan>) - Static method in class com.net2plan.libraries.MultiLayerUtils
-
Check for consistency between a list of hierarchical layers.
- checkProtectionSegmentMergeabilityToRoute(int, int) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Tests whether a given protection segment is applicable to a route.
- checkProtectionSegmentMergeabilityToRoute(long, long) - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
Tests whether a given protection segment is applicable to a route.
- checkProtectionSegmentMergeabilityToRoute(long, long) - Method in class com.net2plan.interfaces.timeVaryingTrafficSimulation.TimeVaryingNetState
-
Tests whether a given protection segment is applicable to a route.
- checkRouteContinuity(int[][], int[], GraphUtils.CheckRoutingCycleType) - Static method in class com.net2plan.libraries.GraphUtils
-
Checks for validity of a given path (continuity and, optionally, no loops).
- checkRouteValidityForDemand(int[], int) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Checks if a sequence of links is valid for a given demand.
- checkRouteValidityForDemand(long[], int) - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
Checks if a sequence of links is valid for a given demand.
- checkRouting_fte(int[][], double[][]) - Static method in class com.net2plan.libraries.GraphUtils
-
This function checks the validity of a destination-based routing (i.e IP routing).
- checkValidity(Map<String, String>, boolean, boolean) - Method in class com.net2plan.interfaces.cacSimulation.ConnectionNetState
-
- checkValidity(Map<String, String>, boolean, boolean) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
- checkValidity(Map<String, String>, boolean, boolean) - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
- checkValidity(Map<String, String>, boolean, boolean) - Method in class com.net2plan.interfaces.timeVaryingTrafficSimulation.TimeVaryingNetState
-
- checkValidityAndWarnings(Map<String, String>, boolean, boolean) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Checks the validity of the current network plan.
- ClassLoaderUtils - Class in com.net2plan.utils
-
Class to deal with dynamic Java class loading from .class/.jar files.
- ClassLoaderUtils() - Constructor for class com.net2plan.utils.ClassLoaderUtils
-
- com.net2plan.interfaces.cacSimulation - package com.net2plan.interfaces.cacSimulation
-
Provides a set of classes and interfaces for the connection simulator tool.
- com.net2plan.interfaces.networkDesign - package com.net2plan.interfaces.networkDesign
-
Provides a set of classes and interfaces for the network design tool.
- com.net2plan.interfaces.resilienceSimulation - package com.net2plan.interfaces.resilienceSimulation
-
Provides a set of classes and interfaces for the resilience simulator tool.
- com.net2plan.interfaces.timeVaryingTrafficSimulation - package com.net2plan.interfaces.timeVaryingTrafficSimulation
-
Provides a set of classes and interfaces for the time-varying traffic simulator tool.
- com.net2plan.libraries - package com.net2plan.libraries
-
Provides a set of useful libraries to develop algorithms and reports.
- com.net2plan.utils - package com.net2plan.utils
-
General utility static methods.
- compareTo(GraphUtils.JUNGUtils.GraphPath) - Method in class com.net2plan.libraries.GraphUtils.JUNGUtils.GraphPath
-
Compares this object with the specified object for order.
- computeAvailableSpectrumVoids(boolean[]) - Static method in class com.net2plan.libraries.FlexGridUtils
-
Computes the list of spectral voids (list of available contiguous slots)
from a slot availability vector of a path.
- computeDemand2LinkAssignmentMatrix() - Method in class com.net2plan.libraries.CandidatePathList
-
Returns the demand-link incidence matrix (a DxE matrix in which an element δde is equal to the number of times which traffic routes carrying traffic from demand d traverse link e).
- computeDemand2PathAssignmentMatrix() - Method in class com.net2plan.libraries.CandidatePathList
-
Returns the demand-path incidence matrix (a DxP matrix in which an element δdp is equal to 1 if traffic route p is able to carry traffic from demand d).
- computeDemand2PathAssignmentMatrix(NetPlan) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the demand-path incidence matrix (a DxP matrix in which an element δdp is equal to 1 if traffic route p is able to carry traffic from demand d).
- computeECMPRoutingTableMatrix(int[][], double[], int) - Static method in class com.net2plan.libraries.IPUtils
-
Computes the routing tables for ECMP (Equal-Cost Multi-Path) using an OSPF-like (or IS-IS) mechanism, given a set of link weights (links with weight equal to Double.MAX_VALUE
are forbidden).
- computeLink2PathAssignmentMatrix() - Method in class com.net2plan.libraries.CandidatePathList
-
Returns the link-path incidence matrix (an ExP matrix in which an element δep is equal to the number of times which traffic route p traverses link e).
- computeLink2PathAssignmentMatrix(List<int[]>, int) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the link-path incidence matrix (an ExP matrix in which an element δep is equal to the number of times which traffic route p traverses link e).
- computeLink2PathAssignmentMatrix(NetPlan) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the link-path incidence matrix (an ExP matrix in which an element δep is equal to the number of times which traffic route p traverses link e).
- computeMatricesCAGR(double[][], double, int) - Static method in class com.net2plan.libraries.TrafficMatrixGenerationModels
-
Computes a set of matrices from a seminal one, using a traffic forecast
based on the compound annual growth rate (CAGR) concept.
- computeMatricesRandomGaussianVariation(double[][], double, double, int) - Static method in class com.net2plan.libraries.TrafficMatrixGenerationModels
-
Computes a set of matrices from a seminal one, using a random Gaussian distribution.
- computeMatricesRandomUniformVariation(double[][], double, int) - Static method in class com.net2plan.libraries.TrafficMatrixGenerationModels
-
Computes a set of matrices from a seminal one, using a random uniform distribution.
- computeMaximumRequests(List<Pair<Integer, Integer>>, int) - Static method in class com.net2plan.libraries.FlexGridUtils
-
Computes the maximum number of requests (each one measured in number of slots) which
can be allocated in a set of spectrum voids.
- computeModulationFormat(int[], double[], ModulationFormatUtils.ModulationFormat[]) - Static method in class com.net2plan.libraries.ModulationFormatUtils
-
Returns the modulation format with the maximum spectral efficiency, whereas
the optical reach constraint is fulfilled, for the given path.
- computeModulationFormatPerPath(CandidatePathList, double[], ModulationFormatUtils.ModulationFormat[]) - Static method in class com.net2plan.libraries.ModulationFormatUtils
-
Returns the modulation format with the maximum spectral efficiency, while
the optical reach constraint is fulfilled, for each path in a
CandidatePathList
object.
- computeNumberOfSlots(double, double, double, ModulationFormatUtils.ModulationFormat) - Static method in class com.net2plan.libraries.FlexGridUtils
-
Computes the number of frequency slots required for a certain amount of
bandwidth (measured in Gbps), including guard-bands.
- computeOMPRoutingTableMatrix(int[][], double[], int) - Static method in class com.net2plan.libraries.IPUtils
-
Computes the optimal routing tables using an OSPF-OMP-like mechanism, given a set of link weights.
- computePathSlotAvailabilityVector(int[], boolean[][]) - Static method in class com.net2plan.libraries.FlexGridUtils
-
Computes the slot availability vector of a path, represented by a sequence
of fibers, where each position indicates whether or not its corresponding
frequency slot is available along the path.
- computePathsPerLinkSublist(int[]) - Method in class com.net2plan.libraries.CandidatePathList
-
For the set of paths provided, computes the map which provides for each
link, the paths traversing the link.
- computeRegeneratorPositions(int[][], int[], double[], double) - Static method in class com.net2plan.libraries.WDMUtils
-
Returns the list of nodes within the lightpath route containing a regenerator,
only following a distance criterium, assuming no wavelength conversion is required.
- computeRegeneratorPositions(int[][], int[], int[], double[], double) - Static method in class com.net2plan.libraries.WDMUtils
-
Returns the list of nodes within the lightpath route containing a regenerator,
only following a distance criterium, assuming no wavelength conversion is required.
- computeShortestPathsForDemand(int, double[]) - Method in class com.net2plan.libraries.CandidatePathList
-
Returns the path identifiers of the shortest path for a given demand.
- computeSpWeightPerDemand(double[]) - Method in class com.net2plan.libraries.CandidatePathList
-
Returns the shortest path cost for every demand.
- computeStateProbabilities(List<Set<Integer>>, double[]) - Static method in class com.net2plan.libraries.SRGUtils
-
Computes the probability to find the network on each failure state.
- computeTrafficCarriedPerDemand(double[]) - Method in class com.net2plan.libraries.CandidatePathList
-
Computes the amount of traffic carried for each demand, if each path
carries the traffic given in x_p vector
- computeTrafficInEachLink(double[]) - Method in class com.net2plan.libraries.CandidatePathList
-
Computes the amount of traffic in each link, if each path carries the
traffic given in x_p vector
- computeWeightPerPath(double[]) - Method in class com.net2plan.libraries.CandidatePathList
-
Computes the weight of each path in the list, for the given weight of the
links.
- concatenate(double[]...) - Static method in class com.net2plan.utils.DoubleUtils
-
Concatenates a series of arrays.
- concatenate(int[]...) - Static method in class com.net2plan.utils.IntUtils
-
Concatenates a series of arrays.
- concatenate(long[]...) - Static method in class com.net2plan.utils.LongUtils
-
Concatenates a series of arrays.
- Configuration - Class in com.net2plan.interfaces.networkDesign
-
Class containing current Net2Plan-wide options, and methods to work with them.
- Configuration() - Constructor for class com.net2plan.interfaces.networkDesign.Configuration
-
- configureSRGs(NetPlan, double, double, SRGUtils.SharedRiskModel, boolean) - Static method in class com.net2plan.libraries.SRGUtils
-
Configures the SRGs into the network design.
- ConnectionNetState - Class in com.net2plan.interfaces.cacSimulation
-
Represents the current state of a network within the connection-admission-control
simulation: active connections, current traffic per link...
- ConnectionNetState(NetPlan) - Constructor for class com.net2plan.interfaces.cacSimulation.ConnectionNetState
-
Default constructor.
- constant(int, double) - Static method in class com.net2plan.libraries.TrafficMatrixGenerationModels
-
Generates a constant traffic matrix.
- constantArray(int, double) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns an array filled with a given value.
- constantArray(int, int) - Static method in class com.net2plan.utils.IntUtils
-
Returns an array filled with a given value.
- Constants - Class in com.net2plan.utils
-
Auxiliary class with several application-wide constants.
- Constants() - Constructor for class com.net2plan.utils.Constants
-
- Constants.OrderingType - Enum in com.net2plan.utils
-
Constants for choosing the ordering type.
- Constants.SearchType - Enum in com.net2plan.utils
-
Constants for searching methods.
- Constants.ShortestPathType - Enum in com.net2plan.utils
-
Constants for shortest path methods.
- contains(double[], double) - Static method in class com.net2plan.utils.DoubleUtils
-
Checks if an input array contains a given value
- contains(int[], int) - Static method in class com.net2plan.utils.IntUtils
-
Checks if an input array contains a given value
- contains(long[], long) - Static method in class com.net2plan.utils.LongUtils
-
Checks if an input array contains a given value
- containsAll(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Checks if an array contains all numbers from another.
- containsAll(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Checks if an array contains all numbers from another.
- containsAll(long[], long[]) - Static method in class com.net2plan.utils.LongUtils
-
Checks if an array contains all numbers from another.
- containsAny(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Checks whether any element of an array is present in another.
- containsAny(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Checks whether any element of an array is present in another.
- containsAny(long[], long[]) - Static method in class com.net2plan.utils.LongUtils
-
Checks whether any element of an array is present in another.
- convert_fte2xp(int[][], int[][], double[], double[][], List<Integer>, List<int[]>, List<Double>) - Static method in class com.net2plan.libraries.GraphUtils
-
Given a destination-based routing in the form f_te (fractions of traffic in a node, that is forwarded through each of its output links), and
an offered traffic to the network, it generates the resulting set of paths that are produced.
- convert_fte2xte(int[][], double[][], double[][]) - Static method in class com.net2plan.libraries.GraphUtils
-
- convert_xde2xp(int[][], int[][], double[][], List<Integer>, List<int[]>, List<Double>) - Static method in class com.net2plan.libraries.GraphUtils
-
Given the amount of traffic for each demand d traversing link e, it computes
the equivalent path-based routing.
- convert_xde2ye(int[][], int[][], double[][]) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the carried traffic per link.
- convert_xp2fte(int[][], int[][], int[], double[], List<int[]>, int) - Static method in class com.net2plan.libraries.GraphUtils
-
Given a set of traffic routes and their carried traffic returns a destination-based
routing in the form f_te (fractions of traffic in a node, that is forwarded
through each of its output links).
- convert_xp2xde(int[][], double[], int[], List<int[]>) - Static method in class com.net2plan.libraries.GraphUtils
-
Given a path-based routing, returns the amount of traffic for each demand d
traversing each link e.
- convert_xp2xte(int[][], int[][], int[], double[], List<int[]>, int) - Static method in class com.net2plan.libraries.GraphUtils
-
Given a set of traffic routes and their carried traffic returns a destination-based
routing in the form x_te (amount of traffic targeted to node t, transmitted through node e).
- convert_xp2ye(List<Double>, List<int[]>, int) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the carried traffic per link.
- convert_xte2fte(int[][], double[][]) - Static method in class com.net2plan.libraries.GraphUtils
-
Given a destination-based routing in the form of an array x_te (amount of traffic targeted to node t, transmitted through node e), it
returns the associated destination-based routing in the form of fractions f_te (fraction of the traffic targeted to node t that arrives
(or is generated in) node a(e) (the initial node of link e), that is forwarded through link e).
- convert_xte2ye(double[][]) - Static method in class com.net2plan.libraries.GraphUtils
-
- convertBackupRoute2SequenceOfLinks(long[]) - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
Converts a sequence of links and segments to a sequence of links.
- convertPath2PathCost(int[], double[]) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the total cost for a given path.
- convertPathList2PathCost(List<int[]>, double[]) - Static method in class com.net2plan.libraries.GraphUtils
-
Returns the total cost for a given a list of paths.
- convertSeqLinks2seqNodes(int[], int[][]) - Static method in class com.net2plan.libraries.GraphUtils
-
Converts a given sequence of links to the corresponding sequence of nodes.
- convertSequenceOfLinks2SequenceOfNodes(int[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Converts a sequence of links and segments to a sequence of nodes.
- convertToNetPlan() - Method in class com.net2plan.interfaces.cacSimulation.ConnectionNetState
-
Returns a network design from the current network state.
- convertToNetPlan() - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
Returns a network design from the current network state.
- convertToNetPlan() - Method in class com.net2plan.interfaces.timeVaryingTrafficSimulation.TimeVaryingNetState
-
Returns a network design from the current network state.
- copy() - Method in class com.net2plan.interfaces.cacSimulation.ConnectionNetState
-
Returns a deep copy of the current state.
- copy() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Returns a deep copy of the current design.
- copy() - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
Returns a deep copy of the current state.
- copy() - Method in class com.net2plan.interfaces.timeVaryingTrafficSimulation.TimeVaryingNetState
-
Returns a deep copy of the current state.
- copy(double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns a deep copy of the input array
.
- copy(double[][]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns a deep copy of the input array
.
- copy(int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns a deep copy of the input array
.
- copy(int[][]) - Static method in class com.net2plan.utils.IntUtils
-
Returns a deep copy of the input array
.
- copy(long[]) - Static method in class com.net2plan.utils.LongUtils
-
Returns a deep copy of the input array
.
- copyFrom(NetPlan) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the current information from the NetPlan
object and copy the
information from the input NetPlan
.