Skip navigation links
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

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, 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.
scaleDown_maxAbsoluteCoordinateChange(DoubleMatrix1D, DoubleMatrix1D, int[], double) - Static method in class com.net2plan.utils.GradientProjectionUtils
If all the selected coordinates in x_k differ in absolute value less than maxAbsDifference respect to x_0, the vector x_k as it is, is returned.
scaleDown_maxAbsoluteCoordinateChange(double, double, double) - Static method in class com.net2plan.utils.GradientProjectionUtils
If x differs in absolute value less than maxAbsDifference, x as it is, is returned.
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.
segment - Variable in class com.net2plan.interfaces.simulation.SimEvent.SegmentRemove
 
SegmentAdd(Set<Route>, List<Link>, double) - Constructor for class com.net2plan.interfaces.simulation.SimEvent.SegmentAdd
Default constructor.
segmentAddedToFillByProcessor - Variable in class com.net2plan.interfaces.simulation.SimEvent.SegmentAdd
 
SegmentRemove(ProtectionSegment) - Constructor for class com.net2plan.interfaces.simulation.SimEvent.SegmentRemove
Default constructor.
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(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.
seqLinks - Variable in class com.net2plan.interfaces.simulation.SimEvent.RouteAdd
 
seqLinks - Variable in class com.net2plan.interfaces.simulation.SimEvent.RouteModify
 
seqLinks - Variable in class com.net2plan.interfaces.simulation.SimEvent.SegmentAdd
 
seqLinks - Variable in class com.net2plan.libraries.WDMUtils.LightpathModify
 
seqLinks_backup - Variable in class com.net2plan.libraries.WDMUtils.LightpathAdd
 
seqLinks_primary - Variable in class com.net2plan.libraries.WDMUtils.LightpathAdd
 
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.
SEQUENCE_OF_WAVELENGTHS_INITIAL_ROUTE_ATTRIBUTE_NAME - Static variable in class com.net2plan.libraries.WDMUtils
Route/protection segment attribute name for sequence of wavelengths for the initial sequence of links (when the route was created)
seqWavelengths - Variable in class com.net2plan.libraries.WDMUtils.LightpathModify
 
seqWavelengths_backup - Variable in class com.net2plan.libraries.WDMUtils.LightpathAdd
 
seqWavelengths_primary - Variable in class com.net2plan.libraries.WDMUtils.LightpathAdd
 
set(int, double) - Method in class com.jom.DoubleMatrixND
Sets the matrix cell at coordinate given by the subindexes to the specified value.
set(int[], double) - Method in class com.jom.DoubleMatrixND
Sets the matrix cell at coordinate given by the subindexes to the specified value.
setAllLinksFailureState(boolean, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the failure state (up or down) for all the links in the given layer.
setAllNodesFailureState(boolean) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the failure state (up or down) for all the nodes.
setAsDown() - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
Sets nodes and links associated to the SRG as down (in case they are not yet).
setAttribute(String, String) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
Sets an attribute for this element.
setAttributeMap(Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
Sets the attributes for this network element.
setCapacity(double) - Method in class com.net2plan.interfaces.networkDesign.Link
Sets the link capacity.
setCapacity(double) - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
This method cannot be called for protection segments (raises an exception)
setCarriedTraffic(double, double) - Method in class com.net2plan.interfaces.networkDesign.MulticastTree
Sets the tree carried traffic and occupied capacity in the traversed Links (typically the same amount), to be applied if the tree does not traverse any failing links or Nodes.
setCarriedTraffic(double, double) - Method in class com.net2plan.interfaces.networkDesign.Route
Sets the route carried traffic and occupied capacity in the traversed links (typically the same amount).
setDemandTrafficUnitsName(String, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the name of the units in which the offered traffic is measured (e.g.
setDescription(String, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the layer description.
setDescription(String) - Method in class com.net2plan.interfaces.networkDesign.NetworkLayer
Sets the user-defined layer description
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, DoubleMatrix1D, NetworkLayer...) - 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.
setFailureState(boolean) - Method in class com.net2plan.interfaces.networkDesign.Link
Sets the failure state of the link: up or down and returns the previous failure state.
setFailureState(boolean) - Method in class com.net2plan.interfaces.networkDesign.Node
Set the failure state of the node: up or down.
setFailureState(boolean) - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
This method cannot be called for protection segments (raises an exception)
setFiberNumWavelengths(Link, int) - Static method in class com.net2plan.libraries.WDMUtils
Sets the number of wavelengths available on the given fiber.
setFibersNumWavelengths(NetPlan, int, NetworkLayer...) - Static method in class com.net2plan.libraries.WDMUtils
Sets the number of wavelengths available in each fiber to the same value.
setFibersNumWavelengths(NetPlan, int[], NetworkLayer...) - 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.
setForwardingRule(Demand, Link, double) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Adds a new forwarding rule (or override an existing one), to the layer of the demand and link (must be in the same layer).
setForwardingRules(Collection<Demand>, Collection<Link>, Collection<Double>, boolean) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Adds a set of forwarding rules (or override existing ones).
setForwardingRules(DoubleMatrix2D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the forwarding rules for the given design.
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.
setInitialSolution(String, double) - Method in class com.jom.OptimizationProblem
Sets the initial solution of the optimization algorithm solving the problem (can be used for setting the starting solution in IPOPT solver).
setInitialSolution(String, DoubleMatrixND) - Method in class com.jom.OptimizationProblem
Sets the initial solution of the optimization algorithm solving the problem (to be used by some solvers like IPOPT).
setInputParameter(String, double) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, double[], String) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, DoubleMatrix1D, String) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, Collection<? extends Number>, String) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, double[][]) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, DoubleMatrixND) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, DoubleMatrix2D) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, int) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, int[], String) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setInputParameter(String, String) - Method in class com.jom.OptimizationProblem
Sets the value of the (arrayed) input parameter identified by its name.
setLengthInKm(double) - Method in class com.net2plan.interfaces.networkDesign.Link
Sets the link length in km.
setLengthInKm(double) - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
This method cannot be called for protection segments (raises an exception)
setLightpathSeqRegenerators(Route, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of regenerators/wavelength converters for a given lightpath.
setLightpathSeqRegenerators(ProtectionSegment, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of regenerators/wavelength converters for a given lightpath.
setLightpathSeqWavelengths(Route, int) - Static method in class com.net2plan.libraries.WDMUtils
Sets the current wavelength for the given lightpath, assuming no wavelength conversion.
setLightpathSeqWavelengths(Route, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of wavelengths for the given lightpath.
setLightpathSeqWavelengths(ProtectionSegment, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the current wavelength for the given lightpath, assuming no wavelength conversion.
setLightpathSeqWavelengthsInitialRoute(Route, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the initial sequence of wavelengths for the given lightpath.
setLinkCapacityUnitsName(String, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the name of the units in which the link capacity is measured (e.g.
setLinks(Set<Link>) - Method in class com.net2plan.interfaces.networkDesign.MulticastTree
Sets the new set of Links of the multicast tree.
setLinksAndNodesFailureState(Collection<Link>, Collection<Link>, Collection<Node>, Collection<Node>) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Changes the failure state of the links and updates the routes/trees/segments (they do not carry traffic nor occupy capacity), and hop-by-hop routing (no traffic is forwarded in links down)
setLinkWeight(Link, double) - Static method in class com.net2plan.libraries.IPUtils
Sets the weight associated to the link.
setLinkWeights(NetPlan, double, NetworkLayer...) - Static method in class com.net2plan.libraries.IPUtils
Sets the weight associated to every link.
setLinkWeights(NetPlan, DoubleMatrix1D, NetworkLayer...) - Static method in class com.net2plan.libraries.IPUtils
Sets the weight associated to each link.
setMeanTimeToFailInHours(double) - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
Sets the mean time to fail (MTTF) in hours of the SRG, that is, the average time between it is repaired, and the next failure.
setMeanTimeToRepairInHours(double) - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
Sets the mean time to repair (MTTR) in hours of the SRG, that is, the average time between a failure occurs, and it is repaired.
setModifiableState(boolean) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the NetPlan so it cannot be modified
setName(String) - Method in class com.net2plan.interfaces.networkDesign.NetworkLayer
Sets the layer name.
setName(String) - Method in class com.net2plan.interfaces.networkDesign.Node
Sets the node name.
setNetworkDescription(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the network description.
setNetworkLayerDefault(NetworkLayer) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the default network layer.
setNetworkName(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the network name.
setObjectiveFunction(String, String) - Method in class com.jom.OptimizationProblem
Sets the objective function of the optimization problem, and its direction (maximice or minimice).
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.
setOfferedTraffic(double) - Method in class com.net2plan.interfaces.networkDesign.Demand
Sets the offered traffic by a demand.
setOfferedTraffic(double) - Method in class com.net2plan.interfaces.networkDesign.MulticastDemand
Sets the offered traffic by a multicast demand.
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.
setPropagationSpeedInKmPerSecond(double) - Method in class com.net2plan.interfaces.networkDesign.Link
Sets the link propagation speed in km per second.
setPropagationSpeedInKmPerSecond(double) - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
This method cannot be called for protection segments (raises an exception)
setProtectionLightpathSeqRegenerators(ProtectionSegment, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of regenerators/wavelength converters for a given protection lightpath.
setProtectionLightpathSeqWavelengths(ProtectionSegment, int) - Static method in class com.net2plan.libraries.WDMUtils
Sets the given wavelength for all fibers traversing a protection lightpath.
setProtectionLightpathSeqWavelengths(ProtectionSegment, int[]) - Static method in class com.net2plan.libraries.WDMUtils
Sets the sequence of wavelengths for a protection lightpath.
setQuick(int, double) - Method in class com.jom.DoubleMatrixND
Sets the matrix cell at coordinate index to the specified value.
setQuick(int[], double) - Method in class com.jom.DoubleMatrixND
Sets the matrix cell at coordinate given by the subindexes to the specified value.
setReservedCapacity(double) - Method in class com.net2plan.interfaces.networkDesign.ProtectionSegment
Sets the segment reserved capacity in the traversed links
setRoutingFromDemandLinkCarriedTraffic(DoubleMatrix2D, boolean, boolean, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Adds traffic routes (or forwarding rules, depending on the routing type) from demand-link routing at the given layer.
setRoutingFromDestinationLinkCarriedTraffic(DoubleMatrix2D, boolean, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Adds traffic routes (or forwarding rules, depending on the routing type) from destination-link routing at the given layer.
setRoutingType(Constants.RoutingType, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the routing type at the given layer.
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.
setSeqLinksAndProtectionSegments(List<Link>) - Method in class com.net2plan.interfaces.networkDesign.Route
Sets the new sequence of links and/or protection segments travsered by the route.
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, NetworkLayer...) - 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.
setVectorAttributeValues(Collection<? extends NetworkElement>, String, DoubleMatrix1D) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the given attributes values to all the given network elements.
setVectorDemandOfferedTraffic(DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the vector of the offered traffic per demand, at the given layer. i-th vector corresponds to i-th index of the element.
setVectorLinkCapacity(DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the vector of the link capacities, at the given layer. i-th vector corresponds to i-th index of the element.
setVectorMulticastDemandOfferedTraffic(DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the vector of the offered traffic per multicast demand, at the given layer. i-th vector corresponds to i-th index of the element.
setVectorMulticastTreeCarriedTrafficAndOccupiedLinkCapacities(DoubleMatrix1D, DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the vector of the multicast trees carried traffics and occupied link capacities, at the given layer. i-th vector corresponds to i-th index of the element.
setVectorProtectionSegmentReservedCapacity(DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the vector of the reserved capacity for protection segments, at the given layer. i-th vector corresponds to i-th index of the element.
setVectorRouteCarriedTrafficAndOccupiedLinkCapacities(DoubleMatrix1D, DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
Sets the vector of the route carried traffics and occupied link capacities, at the given layer. i-th vector corresponds to i-th index of the element.
setXYPositionMap(Point2D) - Method in class com.net2plan.interfaces.networkDesign.Node
Sets the node position in the map, used for visualization
SharedRiskGroup - Class in com.net2plan.interfaces.networkDesign
This class contains a representation of a Shared Risk Group (SRG).
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.
SimEvent - Class in com.net2plan.interfaces.simulation
Class representing a simulation event.
SimEvent(double, SimEvent.DestinationModule, int, int, Object) - Constructor for class com.net2plan.interfaces.simulation.SimEvent
Constructor that allows to generate an event with a custom object.
SimEvent(double, SimEvent.DestinationModule, int, Object) - Constructor for class com.net2plan.interfaces.simulation.SimEvent
Constructor that allows to generate an event with a custom object.
SimEvent.DemandAdd - Class in com.net2plan.interfaces.simulation
This class represents the request to add a new Demand.
SimEvent.DemandModify - Class in com.net2plan.interfaces.simulation
This class represents the request to modify an existing Demand.
SimEvent.DemandRemove - Class in com.net2plan.interfaces.simulation
This class represents the request to remove an existing Demand.
SimEvent.DestinationModule - Enum in com.net2plan.interfaces.simulation
Module that will receive the associated event.
SimEvent.LinkAdd - Class in com.net2plan.interfaces.simulation
This class represents the request to add a new Link.
SimEvent.LinkModify - Class in com.net2plan.interfaces.simulation
This class represents the request to modify an existing Link
SimEvent.LinkRemove - Class in com.net2plan.interfaces.simulation
This class represents the request to remove an existing Link.
SimEvent.NodesAndLinksChangeFailureState - Class in com.net2plan.interfaces.simulation
This class represents the request to modify the failure state of multiple links and nodes.
SimEvent.RouteAdd - Class in com.net2plan.interfaces.simulation
This class represents the request to add a new Route.
SimEvent.RouteModify - Class in com.net2plan.interfaces.simulation
This class represents the request to modify an existing Route.
SimEvent.RouteRemove - Class in com.net2plan.interfaces.simulation
This class represents the request to remove and existing Route.
SimEvent.SegmentAdd - Class in com.net2plan.interfaces.simulation
This class represents the request to add a new Protection Segment.
SimEvent.SegmentRemove - Class in com.net2plan.interfaces.simulation
This class represents the request to remove an existing Protection Segment.
simplifyLinkMap(List<Link>, DoubleMatrix1D) - Static method in class com.net2plan.libraries.GraphUtils
Given a list of links that may contain multiple links between some node pairs, returns a matrix where appears, for each node pair, the link having the lowest weight (links whose weight is equal to Double.MAX_VALUE are included).
size() - Method in class com.jom.Expression
Returns the size of the array.
size() - Method in class com.net2plan.utils.TimeTrace
 
solutionIsFeasible() - Method in class com.jom.OptimizationProblem
Returns true if the problem was solved, and the solution obtained is feasible.
solutionIsOptimal() - Method in class com.jom.OptimizationProblem
Returns true if the problem was solved, and the solution obtained is optimal according to the solver.
solve(String, Object...) - Method in class com.jom.OptimizationProblem
Calls the indicated solver to solve the optimization problem in its current state (e.g. current objective function and input parameters set).
sort(Map<A, B>, Constants.OrderingType) - Static method in class com.net2plan.utils.CollectionUtils
Returns a SortedMap copy of the input map according to the 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).
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.
sub2ind(IntMatrix1D, int[]) - Static method in class com.jom.DoubleMatrixND
For arrays of the given size, converts the position of the cell given as a their coordinates, into its associated linear index.
sub2ind(IntMatrix2D, int[]) - Static method in class com.jom.DoubleMatrixND
For arrays of the given size, converts the positions of the cells given as a their coordinates, into their associated linear index.
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.
A B C D E F G H I J K L M N O P Q R S T U V W Z 
Skip navigation links