- 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.
- releaseResources(List<Long>, int[], List<Set<Long>>) - Static method in class com.net2plan.libraries.WDMUtils
-
Updates wavelengthFiberOccupancy
to consider that a lightpath is releasing
used wavelengths.
- releaseResources(List<Long>, int, List<Set<Long>>) - Static method in class com.net2plan.libraries.WDMUtils
-
Updates wavelengthFiberOccupancy
to consider that a lightpath is releasing
used wavelengths.
- releaseResources(Map<Long, Pair<Long, Long>>, List<Long>, int[], List<Set<Long>>, int[], Map<Long, Integer>) - Static method in class com.net2plan.libraries.WDMUtils
-
Updates wavelengthFiberOccupancy
to consider that a lightpath is releasing
used wavelengths.
- releaseResources(Map<Long, Pair<Long, Long>>, List<Long>, int, List<Set<Long>>, int[], Map<Long, Integer>) - Static method in class com.net2plan.libraries.WDMUtils
-
Updates wavelengthFiberOccupancy
to consider that a lightpath is releasing
used wavelengths.
- removeAllDemandForwardingRules(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules associated to a demand.
- removeAllDemandForwardingRules(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules associated to a demand.
- removeAllDemands() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the demands defined.
- removeAllDemands(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the demands defined.
- removeAllForwardingRules() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules.
- removeAllForwardingRules(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules.
- removeAllLinkForwardingRules(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules associated to a link.
- removeAllLinkForwardingRules(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules associated to a link.
- removeAllLinks() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the links defined.
- removeAllLinks(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the links defined.
- removeAllNodeForwardingRules(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules associated to a node.
- removeAllNodeForwardingRules(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all forwarding rules associated to a node.
- removeAllNodes() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the nodes defined within the network.
- removeAllProtectionSegments() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the protection segments defined.
- removeAllProtectionSegments(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the protection segments defined.
- removeAllRoutes() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routes defined.
- removeAllRoutes(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routes defined.
- removeAllRoutingInformation() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routing information, irrespective of the routing type
setting.
- removeAllRoutingInformation(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the routing information, irrespective of the routing type
setting.
- removeAllSRGs() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes all the SRGs defined within the network.
- removeDemand(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a demand, and any associated route or forwarding rule.
- removeDemand(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a demand, and any associated route or forwarding rule.
- removeDemandAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a demand.
- removeDemandAttribute(long, long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a demand.
- removeDemands(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of demands.
- removeDemands(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of demands.
- removeForwardingRule(Pair<Long, Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a forwarding rule.
- removeForwardingRule(long, Pair<Long, Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a forwarding rule.
- removeForwardingRuleAttribute(Pair<Long, Long>, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a forwarding rule.
- removeForwardingRuleAttribute(long, Pair<Long, Long>, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a forwarding rule.
- removeForwardingRules(Set<Pair<Long, Long>>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of forwarding rules.
- removeForwardingRules(long, Set<Pair<Long, Long>>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of forwarding rules.
- removeLayer(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a layer, and any associated link, demand, route, protection segment or forwarding rule.
- removeLayerAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from the given layer.
- removeLayers(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of layers, and any associated link, demand, route, protection segment or forwarding rule.
- removeLink(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a link, and any associated route, protection segment or forwarding rule.
- removeLink(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a link, and any associated route, protection segment or forwarding rule.
- removeLinkAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a link.
- removeLinkAttribute(long, long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a link.
- removeLinkFromSRG(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a link from the set of links of a given SRG at the first layer.
- removeLinkFromSRG(long, long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a link from the set of links of a given SRG at the given layer.
- removeLinks(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of links.
- removeLinks(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of links.
- removeNetworkAttribute(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from the network.
- removeNode(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a node, and any associated link, demand, route, protection segment or forwarding rule.
- removeNodeAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a node.
- removeNodeFromSRG(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a node from the set of nodes of a given SRG.
- removeNodes(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of nodes.
- removePath(long) - Method in class com.net2plan.libraries.CandidatePathList
-
Removes a path from the candidate path list.
- removePaths(Set<Long>) - Method in class com.net2plan.libraries.CandidatePathList
-
Removes a set of paths from the candidate path list.
- removeProtectionSegment(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a protection segment.
- removeProtectionSegment(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a protection segment.
- removeProtectionSegmentAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a protection segment.
- removeProtectionSegmentAttribute(long, long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a protection segment.
- removeProtectionSegmentFromRouteBackupSegmentList(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a protection segment from the list of backup protection segments of a route.
- removeProtectionSegmentFromRouteBackupSegmentList(long, long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a protection segment from the list of backup protection segments of a route.
- removeProtectionSegments(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of protection segments.
- removeProtectionSegments(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of protection segments.
- removeRoute(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a route.
- removeRoute(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a route.
- removeRouteAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a route.
- removeRouteAttribute(long, long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from a route.
- removeRoutes(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of routes.
- removeRoutes(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of routes.
- removeSRG(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes an SRG.
- removeSRGAttribute(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a given attribute from an SRG.
- removeSRGs(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Removes a set of SRGs.
- reset() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Resets the state of the network to an empty NetPlan
.
- 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).
- 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.
- routeAdded(long) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- routeAdded(long, long) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- routeModified(long) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- routeModified(long, long) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- routeRemoved(long, long, long, long, double, double, List<Long>, List<Long>, Map<String, String>) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- routeRemoved(long, long, long, long, long, double, double, List<Long>, List<Long>, Map<String, String>) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- routingTableMatrixToString(Set<Long>, Map<Long, Pair<Long, Long>>, double[][]) - Static method in class com.net2plan.libraries.IPUtils
-
Outputs a given set of routing tables to a String
.