- save(File) - Method in class com.net2plan.libraries.CandidatePathList
-
Saves the current candidate path list to a given file for further usage.
- saveOptions() - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Saves current options to the file system.
- saveToFile(File) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Saves the current network plan to a given file.
- scalarProduct(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Scalar product of two vectors.
- scalarProduct(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Scalar product of two vectors.
- select(boolean[], int[]) - Static method in class com.net2plan.utils.BooleanUtils
-
Returns a set of selected elements from an input array.
- select(double[], int[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns a set of selected elements from an input array.
- select(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns a set of selected elements from an input array.
- selectColumn(double[][], int) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns a column of a bidimensional input array.
- selectColumn(int[][], int) - Static method in class com.net2plan.utils.IntUtils
-
Returns a column of a bidimensional input array.
- selectRow(double[][], int) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns a row of a bidimensional input array.
- selectRow(int[][], int) - Static method in class com.net2plan.utils.IntUtils
-
Returns a row of a bidimensional input array.
- setConnectionState(int, double, int[]) - Method in class com.net2plan.interfaces.cacSimulation.ConnectionNetState
-
Modifies the state of the specified connection.
- setDemandAttribute(int, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given demand.
- setDemandAttributes(int, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given demand.
- setDemandOfferedTrafficInErlangs(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic for a given demand.
- setDemandOfferedTrafficInErlangsVector(double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic for each demand.
- setdiff(double[]...) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the elements contained in the first array, but not any of the others.
- setdiff(int[]...) - Static method in class com.net2plan.utils.IntUtils
-
Returns the elements contained in the first array, but not any of the others.
- setFailureGroups(int[][], int[][], double[], double[]) - Method in class com.net2plan.interfaces.resilienceSimulation.ResilienceNetState
-
Sets the defined SRGs within the network.
- setFirst(A) - Method in class com.net2plan.utils.Pair
-
Sets the first element from this pair.
- setFirst(A) - Method in class com.net2plan.utils.Quadruple
-
Sets the first element from this quadruple.
- setFirst(A) - Method in class com.net2plan.utils.Triple
-
Sets the first element from this triple.
- setFourth(D) - Method in class com.net2plan.utils.Quadruple
-
Sets the fourth element from this quadruple.
- setLinkAttribute(int, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given link.
- setLinkAttributes(int, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given link.
- setLinkCapacityInErlangs(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity of a link.
- setLinkLengthInKm(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the length of a link.
- setLinkWeightAttributes(NetPlan, double) - Static method in class com.net2plan.libraries.IPUtils
-
Adds a 'linkWeight' attribute to each link with an associated link weight.
- setLinkWeightAttributes(NetPlan, double[]) - Static method in class com.net2plan.libraries.IPUtils
-
Adds a 'linkWeight' attribute to each link with an associated link weight.
- setNetworkAttribute(String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for the network.
- setNetworkAttributes(Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the network attributes.
- setNodeAttribute(int, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given node.
- setNodeAttributes(int, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given node.
- setNodeName(int, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the node name.
- setNodeXYPosition(int, double, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the node position.
- setOption(String, String) - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Puts the value for an option.
- setProtectionSegmentAttribute(int, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given protection segment.
- setProtectionSegmentAttributes(int, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given protection segment.
- setProtectionSegmentReservedBandwidthInErlangs(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved bandwidth for a given protection segment.
- setRouteAttribute(int, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given route.
- setRouteAttributes(int, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given route.
- setRouteCarriedTrafficInErlangs(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the carried traffic by a route.
- setRoutesFromRoutingTableMatrix(NetPlan, double[][]) - Static method in class com.net2plan.libraries.IPUtils
-
Generates routes from the demand set of a given a network design using a given set of routing tables.
- setSecond(B) - Method in class com.net2plan.utils.Pair
-
Sets the second element from this pair.
- setSecond(B) - Method in class com.net2plan.utils.Quadruple
-
Sets the second element from this quadruple.
- setSecond(B) - Method in class com.net2plan.utils.Triple
-
Sets the second element from this triple.
- setThird(C) - Method in class com.net2plan.utils.Quadruple
-
Sets the third element from this quadruple.
- setThird(C) - Method in class com.net2plan.utils.Triple
-
Sets the third element from this triple.
- setTrafficMatrix(double[][]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the traffic demands from a given traffic matrix, removing any previous
demand.
- sort(double[], Constants.OrderingType) - Static method in class com.net2plan.utils.DoubleUtils
-
Sorts the input array (it will be overriden).
- sort(int[], Constants.OrderingType) - Static method in class com.net2plan.utils.IntUtils
-
Sorts the input array (it will be overriden).
- sortIndexes(double[], Constants.OrderingType) - Static method in class com.net2plan.utils.DoubleUtils
-
Sorts indexes of the array
into ascending/descending order in a stable way.
- sortIndexes(int[], Constants.OrderingType) - Static method in class com.net2plan.utils.IntUtils
-
Sorts indexes of the array
into ascending/descending order in a stable way.
- split(String) - Static method in class com.net2plan.utils.StringUtils
-
Splits a String into an array asumming items are separated by spaces.
- split(String, String) - Static method in class com.net2plan.utils.StringUtils
-
Splits a String into an array according to a set of separators.
- std(double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the standard deviation of an array.
- std(int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the standard deviation of an array.
- StringUtils - Class in com.net2plan.utils
-
Provides extra functionality for String objects.
- StringUtils() - Constructor for class com.net2plan.utils.StringUtils
-
- substract(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the element-wise substraction of two arrays.
- substract(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the element-wise substraction of two arrays.
- sum(double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the sum of all elements in the array.
- sum(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the element-wise sum of two arrays.
- sum(int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the sum of all elements in the array.
- sum(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the element-wise sum of two arrays.