- random(double, double) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random double in range [minValue, maxValue]
- random(double, double, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random double in range [minValue, maxValue]
- random(int, int) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random integer in range [minValue, maxValue]
- random(int, int, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random integer in range [minValue, maxValue]
- random(long, long) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random long in range [minValue, maxValue]
- random(long, long, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random long in range [minValue, maxValue]
- random(double, double, int) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random double vector, with elements in range [minValue, maxValue]
- random(double, double, int, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random double vector, with elements in range [minValue, maxValue]
- random(int, int, int) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random integer vector, with elements in range [minValue, maxValue]
- random(int, int, int, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random integer vector, with elements in range [minValue, maxValue]
- random(long, long, int) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random long vector, with elements in range [minValue, maxValue]
- random(long, long, int, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns a random long vector, with elements in range [minValue, maxValue]
- RandomUtils - Class in com.net2plan.utils
-
Provides static methods to obtain both random numbers and vectors.
- read2DMatrixFromFile(File) - Static method in class com.net2plan.utils.DoubleUtils
-
Reads a 2D matrix from a file.
- readFromOptionsDefaultFile() - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Reads options from the default file.
- readFromOptionsFile(File) - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Reads options from a given file.
- readImageFromFile(File) - Static method in class com.net2plan.utils.ImageUtils
-
Reads an image from a file.
- readImageFromURL(URL) - Static method in class com.net2plan.utils.ImageUtils
-
Reads an image from an URL.
- regularizedProjection_sumEquality(DoubleMatrix1D, int[], DoubleMatrix1D, double, double) - Static method in class com.net2plan.utils.GradientProjectionUtils
-
Using a simple algorithm, finds the vector x
which minimizes \sum_k a_k x_k + epsilon * x_l^2
, subject to: x_k >= xMin_k, \sum_k x_k = C
.
- releaseResources(List<Link>, int[], DoubleMatrix2D, int[], DoubleMatrix1D) - Static method in class com.net2plan.libraries.WDMUtils
-
Updates wavelengthFiberOccupancy
to consider that a lightpath is releasing
used wavelengths.
- remove() - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Removes a demand, and any associated routes or forwarding rules.
- remove() - Method in class com.net2plan.interfaces.networkDesign.Link
-
Removes the link.
- remove() - Method in class com.net2plan.interfaces.networkDesign.MulticastDemand
-
Removes this multicast demand, and any associated multicast trees.
- remove() - Method in class com.net2plan.interfaces.networkDesign.MulticastTree
-
Removes this multicast tree.
- remove() - Method in class com.net2plan.interfaces.networkDesign.Node
-
Removes a node, and any associated link, demand, route, protection segment or forwarding rule.
- remove() - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
-
Removes a protection segment.
- remove() - Method in class com.net2plan.interfaces.networkDesign.Route
-
Removes this route.
- remove() - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
-
Removes this SRG.
- removeAllAttributes() - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Removes the attribute attached to this network element.
- removeAllDemands(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the demands defined in the given layer.
- removeAllForwardingRules() - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Removes all forwarding rules associated to the demand.
- removeAllForwardingRules() - Method in class com.net2plan.interfaces.networkDesign.Link
-
Removes all forwarding rules associated to the link.
- removeAllForwardingRules(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the forwarding rules in the given layer.
- removeAllForwardingRules(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.Node
-
Removes all forwarding rules associated to the node for a given layer (that is, of layer links outgoing from the node).
- removeAllForwardingRules() - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
-
This method cannot be called for protection segments (raises an exception)
- removeAllLinks(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the links defined in the given layer.
- removeAllLinksUnused(double, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the unsused links (those whith lesser capacity than toleranceCapacityValueToConsiderUnusedLink
) defined in the given layer.
- removeAllMulticastDemands(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the multicast demands defined in the given layer.
- removeAllMulticastTrees(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the multicast trees defined in the given layer.
- removeAllMulticastTreesUnused(double, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the multicast trees carrying no traffic and occupying no link capacity defined in the given layer.
- removeAllNetworkLayers() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the network layers (evetything but the nodes and the SRGs).
- removeAllNodes() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the network nodes.
- removeAllProtectionSegments(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the protection segments defined in the given layer.
- removeAllRoutes(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routes defined in the given layer.
- removeAllRoutesUnused(double, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routes defined in the given layer that do not carry traffic nor occupy link capacity in the given layer.
- removeAllSRGs() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the shared risk groups.
- removeAllUnicastRoutingInformation(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routing information (unicast and multicast) for the given layer, irrespective of the routing type
setting.
- removeAttribute(String) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Removes the attribute attached to this network element.
- removeCyclesFrom_xde(List<Node>, List<Link>, List<Demand>, DoubleMatrix2D, boolean, String, String, double) - Static method in class com.net2plan.libraries.GraphUtils
-
Removes open or closed cycles from the x_de routing matrix, for the given set of demands.
- removeCyclesFrom_xte(List<Node>, List<Link>, DoubleMatrix2D, DoubleMatrix2D, String, String, double) - Static method in class com.net2plan.libraries.GraphUtils
-
Removes open or closed cycles from the x_de routing matrix, for the given set of demands.
- removeLightpathAndUpdateOccupancy(Route, DoubleMatrix2D, DoubleMatrix1D, boolean) - Static method in class com.net2plan.libraries.WDMUtils
-
Removes a lightpath and updates the occupancy.
- removeLightpathAndUpdateOccupancy(Route, DoubleMatrix2D, boolean) - Static method in class com.net2plan.libraries.WDMUtils
-
Removes a lightpath and updates the occupancy.
- removeLightpathAndUpdateOccupancy(ProtectionSegment, DoubleMatrix2D, DoubleMatrix1D) - Static method in class com.net2plan.libraries.WDMUtils
-
Removes a protection lightpath and updates the occupancy.
- removeLightpathAndUpdateOccupancy(ProtectionSegment, DoubleMatrix2D) - Static method in class com.net2plan.libraries.WDMUtils
-
Removes a protection lightpath and updates the occupancy.
- removeLink(Link) - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
-
Removes a link from the set of links of the SRG.
- removeNetworkLayer(NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a layer, and any associated link, demand, route, protection segment or forwarding rule.
- removeNode(Node) - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
-
Removes a node from the set of nodes of the SRG.
- removeProtectionSegmentFromBackupSegmentList(ProtectionSegment) - Method in class com.net2plan.interfaces.networkDesign.Route
-
Removes a protection segment from the list of backup protection segments of a route.
- reservedLinkCapacity - Variable in class com.net2plan.interfaces.simulation.SimEvent.SegmentAdd
-
- reset() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Resets the state of the network to an empty NetPlan
.
- resetTimer() - Method in class com.jom.OptimizationProblem
-
Resets the timers that track the amount of time involved in each part of the computation, to write the time report with the
- reshape(int[]) - Method in class com.jom.DoubleMatrixND
-
Changes the shape of this array.
- resize(BufferedImage, int, int) - Static method in class com.net2plan.utils.ImageUtils
-
Resizes an image.
- reverse(double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Reverses the order of the elements of the input array (it will be overriden).
- reverse(int[]) - Static method in class com.net2plan.utils.IntUtils
-
Reverses the order of the elements of the input array (it will be overriden).
- reverse(long[]) - Static method in class com.net2plan.utils.LongUtils
-
Reverses the order of the elements of the input array (it will be overriden).
- revertToInitialSequenceOfLinks() - Method in class com.net2plan.interfaces.networkDesign.MulticastTree
-
Changes the set of
Links
of the tree to the ones when the tree was created.
- revertToInitialSequenceOfLinks() - Method in class com.net2plan.interfaces.networkDesign.Route
-
Equivalent to setSeqLinksAndProtectionSegments(getInitialSequenceOfLinks ()).
- round(double, int) - Static method in class com.net2plan.utils.DoubleUtils
-
Rounds a number to the closest double
given the number of
required decimal places.
- round(double[], int) - Static method in class com.net2plan.utils.DoubleUtils
-
Rounds a number to the nearest double
given the number of
required decimal places.
- Route - Class in com.net2plan.interfaces.networkDesign
-
This class contains a representation of a unidirectional route, an structure used to carry traffic of unicast demands at a layer,
when the layer routing type is source routing.
- route - Variable in class com.net2plan.interfaces.simulation.SimEvent.RouteModify
-
- route - Variable in class com.net2plan.interfaces.simulation.SimEvent.RouteRemove
-
- RouteAdd(Demand, List<Link>, double, double) - Constructor for class com.net2plan.interfaces.simulation.SimEvent.RouteAdd
-
Default constructor.
- routeAddedToFillByProcessor - Variable in class com.net2plan.interfaces.simulation.SimEvent.RouteAdd
-
- RouteModify(Route, List<Link>, double, double) - Constructor for class com.net2plan.interfaces.simulation.SimEvent.RouteModify
-
Default constructor.
- RouteRemove(Route) - Constructor for class com.net2plan.interfaces.simulation.SimEvent.RouteRemove
-
Default constructor.
- routingTableMatrixToString(List<Node>, List<Link>, DoubleMatrix2D) - Static method in class com.net2plan.libraries.IPUtils
-
Outputs a given set of routing tables to a String
.