- 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.
- saveToFile(File) - Method in class com.net2plan.libraries.CandidatePathList
-
Saves the current candidate path list to a given file for further usage.
- saveToFile(File, String) - Static method in class com.net2plan.utils.HTMLUtils
-
Saves an HTML content to a given file.
- saveToFile(String, File) - Static method in class com.net2plan.utils.StringUtils
-
Outputs an String
to a file.
- saveToFile(String, File, boolean) - Static method in class com.net2plan.utils.StringUtils
-
Outputs an String
to a file.
- saveToOutputStream(OutputStream) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Saves the current network plan to a given output stream.
- scalarProduct(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Scalar product of two vectors.
- scalarProduct(Map<A, Double>, Map<A, Double>) - Static method in class com.net2plan.utils.DoubleUtils
-
Scalar product of two maps.
- scalarProduct(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Scalar product of two vectors.
- scalarProduct(Map<A, Integer>, Map<A, Integer>) - Static method in class com.net2plan.utils.IntUtils
-
Scalar product of two maps.
- scalarProduct(long[], long[]) - Static method in class com.net2plan.utils.LongUtils
-
Scalar product of two vectors.
- scalarProduct(Map<A, Long>, Map<A, Long>) - Static method in class com.net2plan.utils.LongUtils
-
Scalar product of two maps.
- scheduleEvent(SimEvent) - Method in class com.net2plan.interfaces.simulation.IEventGenerator
-
Adds a new event to the future event list.
- scheduleEvent(SimEvent) - Method in class com.net2plan.interfaces.simulation.IEventProcessor
-
Adds a new event to the future event list.
- secondsToYearsDaysHoursMinutesSeconds(double) - Static method in class com.net2plan.utils.StringUtils
-
Converts a timestamp in seconds into its equivalent representation in days,
hours, minutes and seconds.
- select(boolean[], int[]) - Static method in class com.net2plan.utils.BooleanUtils
-
Returns a set of selected elements from an input array.
- select(Map<A, B>, Collection<A>) - Static method in class com.net2plan.utils.CollectionUtils
-
Returns a list of the values of the selected elements from an input map.
- 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(double[]) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array with uniform probability.
- select(double[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array with uniform probability.
- select(int[]) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array with uniform probability.
- select(int[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array with uniform probability.
- select(long[]) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array with uniform probability.
- select(long[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array with uniform probability.
- 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.
- selectColumn(long[][], int) - Static method in class com.net2plan.utils.LongUtils
-
Returns a column of a bidimensional input array.
- selectEntries(Map<A, B>, Set<A>) - Static method in class com.net2plan.utils.CollectionUtils
-
Returns a map of selected elements from the input map.
- 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.
- selectRow(long[][], int) - Static method in class com.net2plan.utils.LongUtils
-
Returns a row of a bidimensional input array.
- selectWeighted(double[]) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array where the chances of choosing
it are relative to its weight.
- selectWeighted(int[]) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array where the chances of choosing
it are relative to its weight.
- selectWeighted(long[]) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array where the chances of choosing
it are relative to its weight.
- selectWeighted(Map<A, B>) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the key of a random map entry where the chances of choosing
it are relative to its value.
- selectWeighted(double[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array where the chances of choosing
it are relative to its weight.
- selectWeighted(int[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array where the chances of choosing
it are relative to its weight.
- selectWeighted(long[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the index of a random item of an array where the chances of choosing
it are relative to its weight.
- selectWeighted(Map<A, B>, Random) - Static method in class com.net2plan.utils.RandomUtils
-
Returns the key of a random map entry where the chances of choosing
it are relative to its value.
- SEQUENCE_OF_REGENERATORS_ATTRIBUTE_NAME - Static variable in class com.net2plan.libraries.WDMUtils
-
Route/protection segment attribute name for sequence of regenerators.
- SEQUENCE_OF_WAVELENGTHS_ATTRIBUTE_NAME - Static variable in class com.net2plan.libraries.WDMUtils
-
Route/protection segment attribute name for sequence of wavelengths.
- setAllLinksUp() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets all links currently down as up.
- setAllLinksUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets all links currently down as up.
- setAllNodesUp() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets all nodes currently down as up.
- setAllProtectionSegmentsUp() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets any protection segment currently down, whose resources are up, as up.
- setAllProtectionSegmentsUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets any protection segment currently down, whose resources are up, as up.
- setAllRoutesUp() - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets any route currently down, whose resources are up, as up.
- setAllRoutesUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets any route currently down, whose resources are up, as up.
- setDemandAttribute(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given demand.
- setDemandAttribute(long, long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given demand.
- setDemandAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given demand.
- setDemandAttributeMap(long, long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given demand.
- setDemandOfferedTraffic(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic by a demand.
- setDemandOfferedTraffic(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic by a demand.
- setDemandOfferedTrafficMap(Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic per demand.
- setDemandOfferedTrafficMap(long, Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic per demand.
- setDemandOfferedTrafficVector(double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic per demand, in increasing order of identifier.
- setDemandOfferedTrafficVector(long, double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the offered traffic per demand, in increasing order of identifier.
- setDemandTrafficUnitsName(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the demand traffic units name.
- setDemandTrafficUnitsName(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the demand traffic units name.
- 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.
- setECMPForwardingRulesFromLinkWeights(NetPlan, Map<Long, Double>) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the OSPF/ECMP forwarding rules in the given design, according to the
given IGP weight setting.
- setECMPForwardingRulesFromLinkWeights(NetPlan, long, Map<Long, Double>) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the OSPF/ECMP forwarding rules in the given design, according to the
given IGP weight setting.
- setECMPRoutesFromLinkWeights(NetPlan, Map<Long, Double>) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the explicit traffic routing according to an OSPF/ECMP scheme.
- setECMPRoutesFromLinkWeights(NetPlan, long, Map<Long, Double>) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the explicit traffic routing according to an OSPF/ECMP scheme.
- setEventPriority(int) - Method in class com.net2plan.interfaces.simulation.SimEvent
-
Sets scheduling priority of the message.
- setEventType(int) - Method in class com.net2plan.interfaces.simulation.SimEvent
-
Sets the message kind.
- setFiberNumWavelengths(NetPlan, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available on the given fiber.
- setFiberNumWavelengths(NetPlan, long, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available on the given fiber.
- setFibersNumWavelengths(NetPlan, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available in each fiber to the same value.
- setFibersNumWavelengths(NetPlan, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available in each fiber to the same value.
- setFibersNumWavelengths(NetPlan, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available in each fiber.
- setFibersNumWavelengths(NetPlan, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available in each fiber.
- setFibersNumWavelengths(NetPlan, Map<Long, Integer>) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available in each fiber.
- setFibersNumWavelengths(NetPlan, long, Map<Long, Integer>) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of wavelengths available in each fiber.
- setFifth(E) - Method in class com.net2plan.utils.Quintuple
-
Sets the fifth element from this quintuple.
- 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.Quintuple
-
Sets the first element from this quintuple.
- setFirst(A) - Method in class com.net2plan.utils.Triple
-
Sets the first element from this triple.
- setForwardingRuleAttribute(Pair<Long, Long>, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given forwarding rule.
- setForwardingRuleAttribute(long, Pair<Long, Long>, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given forwarding rule.
- setForwardingRuleAttributeMap(Pair<Long, Long>, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given forwarding rule.
- setForwardingRuleAttributeMap(long, Pair<Long, Long>, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given forwarding rule.
- setForwardingRules(Map<Pair<Long, Long>, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the forwarding rules for the given design.
- setForwardingRules(long, Map<Pair<Long, Long>, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the forwarding rules for the given design.
- setForwardingRules(DoubleMatrix2D) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the forwarding rules for the given design.
- setForwardingRules(long, DoubleMatrix2D) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the forwarding rules for the given design.
- setForwardingRuleSplittingRatio(Pair<Long, Long>, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the splitting ratio (fraction of traffic from demand 'd' entering
to the origin node of link 'e', going through link 'e') of a forwarding rule.
- setForwardingRuleSplittingRatio(long, Pair<Long, Long>, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the splitting ratio (fraction of traffic from demand 'd' entering
to the origin node of link 'e', going through link 'e') of a forwarding rule.
- setFourth(D) - Method in class com.net2plan.utils.Quadruple
-
Sets the fourth element from this quadruple.
- setFourth(D) - Method in class com.net2plan.utils.Quintuple
-
Sets the fourth element from this quintuple.
- setLayerAttribute(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for the given layer.
- setLayerAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the layer attributes.
- setLayerDefaultId(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the default layer identifier.
- setLayerDescription(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the layer description.
- setLayerName(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the layer name.
- setLightpathSeqRegenerators(NetPlan, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of regenerators/wavelength converters for a given lightpath.
- setLightpathSeqRegenerators(NetPlan, long, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of regenerators/wavelength converters for a given lightpath.
- setLightpathSeqWavelengths(NetPlan, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of wavelengths for the given lightpath.
- setLightpathSeqWavelengths(NetPlan, long, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of wavelengths for the given lightpath.
- setLightpathSeqWavelengths(NetPlan, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the current wavelength for the given lightpath, assuming no wavelength conversion.
- setLightpathSeqWavelengths(NetPlan, long, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the current wavelength for the given lightpath, assuming no wavelength conversion.
- setLinkAttribute(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given link.
- setLinkAttribute(long, long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given link.
- setLinkAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given link.
- setLinkAttributeMap(long, long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given link.
- setLinkCapacity(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity of a link.
- setLinkCapacity(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity of a link.
- setLinkCapacityMap(Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity per link.
- setLinkCapacityMap(long, Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity per link.
- setLinkCapacityUnitsName(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the link capacity units name.
- setLinkCapacityUnitsName(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the link capacity units name.
- setLinkCapacityVector(double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity per link, in increasing order of identifier.
- setLinkCapacityVector(long, double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity per link, in increasing order of identifier.
- setLinkDown(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a link as down.
- setLinkDown(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a link as down.
- setLinkLengthInKm(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the length of a link.
- setLinkLengthInKm(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the length of a link.
- setLinkPropagationSpeedInKmPerSecond(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the propagation speed in km/s of a link.
- setLinkPropagationSpeedInKmPerSecond(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the propagation speed in km/s of a link.
- setLinkPropagationSpeedInKmPerSecondMap(Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the propagation speed in km/s per link.
- setLinkPropagationSpeedInKmPerSecondMap(long, Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the propagation speed in km/s per link.
- setLinksDown(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some links as down.
- setLinksDown(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some links as down.
- setLinksUp(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some links as up.
- setLinksUp(Map<Long, Set<Long>>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some links as up.
- setLinksUp(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some links as up.
- setLinkUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a link as up.
- setLinkUp(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a link as up.
- setLinkWeight(NetPlan, long, double) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to the link.
- setLinkWeight(NetPlan, long, long, double) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to the link.
- setLinkWeights(NetPlan, double) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to every link.
- setLinkWeights(NetPlan, long, double) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to every link.
- setLinkWeights(NetPlan, Map<Long, Double>) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to each link.
- setLinkWeights(NetPlan, long, Map<Long, Double>) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to each link.
- setLinkWeights(NetPlan, double[]) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to each link.
- setLinkWeights(NetPlan, long, double[]) - Static method in class com.net2plan.libraries.IPUtils
-
Sets the weight associated to each link.
- setNetworkAttribute(String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a network attribute.
- setNetworkAttributeMap(Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the network attributes 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(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given node.
- setNodeAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given node.
- setNodeDown(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a node as down.
- setNodeName(long, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the node name.
- setNodesAndLinksDown(Set<Long>, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some nodes and links as down.
- setNodesAndLinksDown(long, Set<Long>, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some nodes and links as down.
- setNodesAndLinksDown(Set<Long>, Map<Long, Set<Long>>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some nodes and links as down.
- setNodesAndLinksUp(Set<Long>, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some nodes and links as up.
- setNodesAndLinksUp(long, Set<Long>, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some nodes and links as up.
- setNodesAndLinksUp(Set<Long>, Map<Long, Set<Long>>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets some nodes and links as up.
- setNodesDown(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a set of nodes as down.
- setNodesUp(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a set of nodes as up.
- setNodeUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a node as up.
- setNodeXYPosition(long, double, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the node position.
- setOf(A...) - Static method in class com.net2plan.utils.CollectionUtils
-
Returns a set of the comma-separated input values.
- setOf(double...) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns a list of the comma-separated input values.
- setOf(int...) - Static method in class com.net2plan.utils.IntUtils
-
Returns a list of the comma-separated input values.
- setOf(long...) - Static method in class com.net2plan.utils.LongUtils
-
Returns a list of the comma-separated input values.
- setOption(String, String) - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Puts the value for an option.
- setOptions(Map<String, String>) - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Puts the value a set of OPTIONS.
- setProtectionLightpathSeqRegenerators(NetPlan, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of regenerators/wavelength converters for a given protection lightpath.
- setProtectionLightpathSeqRegenerators(NetPlan, long, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of regenerators/wavelength converters for a given protection lightpath.
- setProtectionLightpathSeqWavelengths(NetPlan, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of wavelengths for a protection lightpath.
- setProtectionLightpathSeqWavelengths(NetPlan, long, long, int[]) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of wavelengths for a protection lightpath.
- setProtectionLightpathSeqWavelengths(NetPlan, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of wavelengths for a protection lightpath, assuming no wavelength conversion.
- setProtectionLightpathSeqWavelengths(NetPlan, long, long, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the sequence of wavelengths for a protection lightpath, assuming no wavelength conversion.
- setProtectionSegmentAttribute(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given protection segment.
- setProtectionSegmentAttribute(long, long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given protection segment.
- setProtectionSegmentAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given protection segment.
- setProtectionSegmentAttributeMap(long, long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given protection segment.
- setProtectionSegmentDown(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a protection segment as down.
- setProtectionSegmentDown(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a protection segment as down.
- setProtectionSegmentReservedCapacity(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved capacity of a protection segment.
- setProtectionSegmentReservedCapacity(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved capacity of a protection segment.
- setProtectionSegmentReservedCapacityMap(Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved capacity per protection segment.
- setProtectionSegmentReservedCapacityMap(long, Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved capacity per protection segment.
- setProtectionSegmentReservedCapacityVector(double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved capacity per protection segment, in increasing order of identifier.
- setProtectionSegmentReservedCapacityVector(long, double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the reserved capacity per protection segment, in increasing order of identifier.
- setProtectionSegmentsUp(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given protection segments as up.
- setProtectionSegmentsUp(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given protection segments as up.
- setProtectionSegmentUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given protection segment as up.
- setProtectionSegmentUp(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given protection segment as up.
- setRouteAttribute(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given route at the first layer.
- setRouteAttribute(long, long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given route.
- setRouteAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given route.
- setRouteAttributeMap(long, long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given route at the given layer.
- setRouteCarriedTraffic(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the route carried traffic.
- setRouteCarriedTraffic(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the route carried traffic.
- setRouteCarriedTrafficMap(Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the carried traffic per route.
- setRouteCarriedTrafficMap(long, Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the carried traffic per route.
- setRouteCarriedTrafficVector(double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the carried traffic per route, in increasing order of route identifier.
- setRouteCarriedTrafficVector(long, double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the carried traffic per route, in increasing order of route identifier.
- setRouteDown(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a route as down.
- setRouteDown(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets a route as down.
- setRouteOccupiedCapacity(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity occupied by the route in links.
- setRouteOccupiedCapacity(long, long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the capacity occupied by the route in links.
- setRouteOccupiedCapacityMap(Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the occupied capacity per route.
- setRouteOccupiedCapacityMap(long, Map<Long, Double>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the occupied capacity per route.
- setRouteOccupiedCapacityVector(double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the occupied capacity per route, in increasing order of route identifier.
- setRouteOccupiedCapacityVector(long, double[]) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the occupied capacity per route, in increasing order of route identifier.
- setRouteSequenceOfLinks(long, List<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the current path of a route.
- setRouteSequenceOfLinks(long, long, List<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the current path of a route.
- setRoutesUp(Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given routes as up.
- setRoutesUp(long, Set<Long>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given routes as up.
- setRouteUp(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given route as up.
- setRouteUp(long, long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the given route as up.
- setRoutingType(Constants.RoutingType) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the routing type.
- setRoutingType(long, Constants.RoutingType) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the routing type.
- 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.Quintuple
-
Sets the second element from this quintuple.
- setSecond(B) - Method in class com.net2plan.utils.Triple
-
Sets the second element from this triple.
- setSRGAttribute(long, String, String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets an attribute for a given SRG.
- setSRGAttributeMap(long, Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the attributes for a given SRG.
- setSRGDown(long) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets nodes and links associated to the given SRG as down (in case they are not yet).
- setSRGMeanTimeToFailInHours(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the Mean Time To Fail (in hours) of a given SRG.
- setSRGMeanTimeToRepairInHours(long, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the Mean Time To Repair (in hours) 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.Quintuple
-
Sets the third element from this quintuple.
- setThird(C) - Method in class com.net2plan.utils.Triple
-
Sets the third element from this triple.
- setTrafficMatrix(DoubleMatrix2D) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the traffic demands at the given layer from a given traffic matrix, removing any previous
demand.
- setTrafficMatrix(long, DoubleMatrix2D) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the traffic demands at the given layer from a given traffic matrix, removing any previous
demand.
- shuffle(double[]) - Static method in class com.net2plan.utils.RandomUtils
-
Implements Fisher-Yates shuffle.
- shuffle(double[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Implements Fisher-Yates shuffle.
- 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.
- shuffle(long[]) - Static method in class com.net2plan.utils.RandomUtils
-
Implements Fisher-Yates shuffle.
- shuffle(long[], Random) - Static method in class com.net2plan.utils.RandomUtils
-
Implements Fisher-Yates shuffle.
- SimAction - Class in com.net2plan.interfaces.simulation
-
Provides a set of actions to be notified by event handlers.
- SimAction.ActionType - Enum in com.net2plan.interfaces.simulation
-
Type of action.
- SimAction.Factory - Class in com.net2plan.interfaces.simulation
-
Factory methods to create actions.
- SimAction.Factory() - Constructor for class com.net2plan.interfaces.simulation.SimAction.Factory
-
- SimEvent - Class in com.net2plan.interfaces.simulation
-
Class representing a simulation event.
- SimEvent(double, Object, SimEvent.DestinationModule) - Constructor for class com.net2plan.interfaces.simulation.SimEvent
-
Constructor that allows to generate an event with a custom object.
- SimEvent(double, SimAction, SimEvent.DestinationModule) - Constructor for class com.net2plan.interfaces.simulation.SimEvent
-
Constructor that allows to generate an event with an action notification.
- SimEvent(double, List<SimAction>, SimEvent.DestinationModule) - Constructor for class com.net2plan.interfaces.simulation.SimEvent
-
Constructor that allows to generate an event with a list of action notifications.
- SimEvent(double, List<SimAction>, Object, SimEvent.DestinationModule) - Constructor for class com.net2plan.interfaces.simulation.SimEvent
-
Constructor that allows to generate an event with a custom object and a list of action notifications.
- SimEvent.DestinationModule - Enum in com.net2plan.interfaces.simulation
-
Module that will receive the associated event.
- simplifyGraph(Graph<V, E>, Transformer<E, Double>) - Static method in class com.net2plan.libraries.GraphUtils.JUNGUtils
-
Given an input graph that may contain multiple edges between some vertex pairs,
returns a new graph where only appears, for each vertex pair, the edge having
the lowest weight (edges whose weight is equal to Double.MAX_VALUE
are excluded).
- simplifyLinkMap(Map<Long, Pair<Long, Long>>, Map<Long, Double>) - Static method in class com.net2plan.libraries.GraphUtils
-
Given a link map that may contain multiple links between some node pairs,
returns a new link map where only appears, for each node pair, the link having
the lowest weight (links whose weight is equal to Double.MAX_VALUE
are excluded).
- sort(Map<A, B>, Constants.OrderingType) - Static method in class com.net2plan.utils.CollectionUtils
-
Returns a SortedMap
copy of the input map according to natural ordering of values.
- sort(Map<A, B>, Constants.OrderingType, Comparator<B>) - Static method in class com.net2plan.utils.CollectionUtils
-
Returns a SortedMap
copy of the input map according to custom ordering of values.
- 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).
- sort(long[], Constants.OrderingType) - Static method in class com.net2plan.utils.LongUtils
-
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.
- sortIndexes(long[], Constants.OrderingType) - Static method in class com.net2plan.utils.LongUtils
-
Sorts indexes of the array
into ascending/descending order in a stable way.
- spectralEfficiencyInBpsPerHz - Variable in class com.net2plan.libraries.FlexGridUtils.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 (i.e. ", "
means that the separator can be either a comma or a space).
- srgAdded(long) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- srgModified(long) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- srgRemoved(long, double, double, Map<String, String>) - Static method in class com.net2plan.interfaces.simulation.SimAction.Factory
-
- SRGUtils - Class in com.net2plan.libraries
-
Provides a set of static methods which can be useful when dealing with network resilience.
- 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 using the Welford's method.
- std(Collection<Double>) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the standard deviation of a collection using the Welford's method.
- std(Map<A, Double>) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the standard deviation of values of a map using the Welford's method.
- std(int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the standard deviation of an array using the Welford's method.
- std(Collection<Integer>) - Static method in class com.net2plan.utils.IntUtils
-
Returns the standard deviation of a collection using the Welford's method.
- std(Map<A, Integer>) - Static method in class com.net2plan.utils.IntUtils
-
Returns the standard deviation of values of a map using the Welford's method.
- std(long[]) - Static method in class com.net2plan.utils.LongUtils
-
Returns the standard deviation of an array using the Welford's method.
- stringToMap(String) - Static method in class com.net2plan.utils.StringUtils
-
Converts an String
to a map.
- stringToMap(String, String, String) - Static method in class com.net2plan.utils.StringUtils
-
Converts an String
to a map.
- StringUtils - Class in com.net2plan.utils
-
Provides extra functionality for String objects.
- 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.
- substract(long[], long[]) - Static method in class com.net2plan.utils.LongUtils
-
Returns the element-wise substraction of two arrays.
- sum(Map<A, Double>, Map<A, Double>) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the element-wise sum of two maps.
- sum(double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the sum of all elements in the input array.
- sum(double[][]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the sum of all elements in the input matrix.
- sum(Collection<Double>) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the sum of all elements in the input collection.
- sum(Map<A, Double>) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the sum of all elements in the input collection.
- sum(double[], double[]) - Static method in class com.net2plan.utils.DoubleUtils
-
Returns the element-wise sum of two arrays.
- sum(Map<A, Integer>, Map<A, Integer>) - Static method in class com.net2plan.utils.IntUtils
-
Returns the element-wise sum of two maps.
- sum(int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the sum of all elements in the input array.
- sum(int[][]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the sum of all elements in the input matrix.
- sum(Collection<Integer>) - Static method in class com.net2plan.utils.IntUtils
-
Returns the sum of all elements in the input collection.
- sum(Map<A, Integer>) - Static method in class com.net2plan.utils.IntUtils
-
Returns the sum of all elements in the input collection.
- sum(int[], int[]) - Static method in class com.net2plan.utils.IntUtils
-
Returns the element-wise sum of two arrays.
- sum(long[]) - Static method in class com.net2plan.utils.LongUtils
-
Returns the sum of all elements in the array.
- sum(long[], long[]) - Static method in class com.net2plan.utils.LongUtils
-
Returns the element-wise sum of two arrays.
- symmetrizeTrafficMatrix(DoubleMatrix2D) - 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.