A B C D E F G H I J K L M N O P Q R S T U V W Z 

S

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.
select(long[], int[]) - Static method in class com.net2plan.utils.LongUtils
Returns a set of selected elements from an input array.
select(String[], int[]) - Static method in class com.net2plan.utils.StringUtils
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.
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.
setdiff(long[]...) - Static method in class com.net2plan.utils.LongUtils
Returns the elements contained in the first array, but not any of the others.
setFiberNumWavelengthsAttributes(NetPlan, int) - Static method in class com.net2plan.libraries.WDMUtils
Sets the number of wavelengths available on each fiber to the same value.
setFiberNumWavelengthsAttributes(NetPlan, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the number of wavelengths available on each fiber.
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.
setLightpathSeqRegeneratorsAttribute(NetPlan, int, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of regenerators/wavelength converters for a given lightpath.
setLightpathSeqWavelengthsAttribute(NetPlan, int, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of wavelengths for the given lightpath.
setLightpathSeqWavelengthsAttribute(NetPlan, int, int) - Static method in class com.net2plan.libraries.WDMUtils
Sets the current wavelength for the given lightpath, assuming no wavelength conversion.
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.
setNetworkDescription(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the network description.
setNetworkName(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the network name.
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.
setProtectionLightpathSeqRegeneratorsAttribute(NetPlan, int, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of regenerators/wavelength converters for a given protection lightpath.
setProtectionLightpathSeqWavelengthsAttribute(NetPlan, int, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of wavelengths for a protection lightpath.
setProtectionLightpathSeqWavelengthsAttribute(NetPlan, int, int) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of wavelengths for a protection lightpath, assuming no wavelength conversion.
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.
setSRGAttribute(int, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets an attribute for a given srG.
setSRGAttributes(int, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the attributes for a given SRG.
setSRGMeanTimeToFailInHours(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the MTTF of a given SRG.
setSRGMeanTimeToRepairInHours(int, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the MTTR of a given SRG.
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.
shuffle(int[]) - Static method in class com.net2plan.utils.RandomUtils
Implements Fisher–Yates shuffle.
shuffle(int[], Random) - Static method in class com.net2plan.utils.RandomUtils
Implements Fisher–Yates shuffle.
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.
spectralEfficiencyInBpsPerHz - Variable in class com.net2plan.libraries.ModulationFormatUtils.ModulationFormat
Spectral efficiency (in bps per Hz).
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.
SRGUtils - Class in com.net2plan.libraries
Provides a set of static methods which can be useful when dealing with network resilience.
SRGUtils() - Constructor for class com.net2plan.libraries.SRGUtils
 
SRGUtils.SharedRiskModel - Enum in com.net2plan.libraries
Type of shared-risk model.
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.
symmetrizeTrafficMatrix(double[][]) - Static method in class com.net2plan.libraries.TrafficMatrixGenerationModels
Symmetrizes the input traffic matrix setting each node-pair traffic value equal to the average between the traffic in both directions.
A B C D E F G H I J K L M N O P Q R S T U V W Z