- 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.research.niw.networkModel.WNet
-
Saves this network in the 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.
- scaleVnfCapacityAndConsumptionToBaseInstanceMultiple() - Method in class com.net2plan.research.niw.networkModel.WVnfInstance
-
Sets the capacity of this VNF instance as well as the CPU, RAM, HD consumption, so the VNF capacity is the minimum multiple of the
capacity of the instance VNF type.
- 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(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.
- seqFrequencySlots_se - Variable in class com.net2plan.libraries.WDMUtils.RSA
-
A 2D integer matrix with as many columns as traversed links (in the same order), and rows as the number of frequency slots occupied (the same in all the links).
- 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.libraries.WDMUtils.RSA
-
The sequence of traversed fibers
- seqRegeneratorsOccupancy_e - Variable in class com.net2plan.libraries.WDMUtils.RSA
-
An integer vector with one coordinate per traversed fiber.
- 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.
- setAmplifiersTraversed_dB(List<Double>, List<Double>, List<Double>, List<Double>) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets the traversed amplifiers information
- setArbitraryParamString(String) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Each element can be associated a user defined param string.
- setArbitraryParamString(String) - Method in class com.net2plan.research.niw.networkModel.WNode
-
- setArbitraryParamString(String) - Method in class com.net2plan.research.niw.networkModel.WUserService
-
Sets the arbitrary user-defined parameters string
- setArbitraryParamString(String) - Method in class com.net2plan.research.niw.networkModel.WVnfType
-
Sets the arbitrary user-defined string attached to this VNF type
- setAsBackupLightpath(WLightpathUnregenerated) - Method in class com.net2plan.research.niw.networkModel.WLightpathUnregenerated
-
Sets this lightpath as a backup lightpath of other lightpath in this request
- 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).
- setAsDown() - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets this fiber as down (failed).
- setAsDown() - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the node as down (failed), so traversing IP links or lightpaths become down
- setAsUp() - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
-
Sets nodes and links associated to the SRG as up (in case they are not yet).
- setAsUp() - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets this fiber as up (not failed)
- setAsUp() - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the node as up (working, non-failed)
- setAttenuationCoefficient_dbPerKm(double) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets the fiber attenuation coefficient in dB per km
- setAttribute(String, String) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element.
- setAttribute(String, Number) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element, so it can be read with getAttributeAsNumber method.
- setAttributeAsNumberList(String, List<? extends Number>) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element, storing the values of the given value list, so it can be read with getAttributeAsNumberList method.
- setAttributeAsNumberMatrix(String, DoubleMatrix2D) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element, storing the values of the given matrix, so it can be read with setAttributeAsNumberMatrix method.
- setAttributeAsNumberMatrix(String, List<List<Number>>) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element, storing the values of the given matrix, so it can be read with setAttributeAsNumberMatrix method.
- setAttributeAsStringList(String, List<String>) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element, storing the values of the given value list, so it can be read with getAttributeAsStringList method.
- setAttributeAsStringMatrix(String, List<List<String>>) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets an attribute for this element, storing the values of the given value list,
so it can be read with getAttributeAsStringMatrix method.
- setAttributeMap(Map<String, String>) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets the attributes for this network element.
- setBidirectionalPair(Demand) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the given demand as the bidirectional pair of this demand.
- setBidirectionalPair(Link) - Method in class com.net2plan.interfaces.networkDesign.Link
-
Sets the given link as the bidirectional pair of this link.
- setBidirectionalPair(Route) - Method in class com.net2plan.interfaces.networkDesign.Route
-
Sets the given route as the bidirectional pair of this route.
- setCapacity(double) - Method in class com.net2plan.interfaces.networkDesign.Link
-
Sets the link capacity.
- setCapacity(double, Map<Resource, Double>) - Method in class com.net2plan.interfaces.networkDesign.Resource
-
Resets the capacity of a resource, as well as the occupied capacity in the base resources.
- setCapacityInGbpsOfInputTraffic(double, double, double, double) - Method in class com.net2plan.research.niw.networkModel.WVnfInstance
-
Sets the VNF capacity and RAM/CPU/HD occupation of this instance
- setCapacityMeasurementUnits(String) - Method in class com.net2plan.interfaces.networkDesign.Resource
-
Sets the units in which the capacity of this resource is measured
- 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 the occupied capacity in the traversed links and resources (typically the same as the carried traffic),
setting it to being the same in all the links and resources traversed.
- setCarriedTraffic(double, List<Double>) - Method in class com.net2plan.interfaces.networkDesign.Route
-
Sets the route carried traffic and the occupied capacity in the traversed links and resources, so the capacity occupied can
be different (but always non-negative) in each.
- setChromaticDispersionCoeff_psPerNmKm(double) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets the fiber chromatic dispersion coefficient, in ps per nm / km
- setCurrentOfferedTrafficInGbps(double) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets the current offered traffic in Gbps for this service chain
- setDefaultNodeIconURL(URL) - Method in class com.net2plan.interfaces.networkDesign.NetworkLayer
-
Sets the user-defined URL of the default icon to represent the nodes at this layer.
- setDefaultSolverLibraryName(String, String) - Static method in class com.net2plan.interfaces.networkDesign.Configuration
-
Sets the default name of the library file (to set as solverLibraryName in JOM calls).
- 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) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets this element 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.
- setDynamicImplementation(DynamicSrgImplementation) - Method in class com.net2plan.interfaces.networkDesign.SharedRiskGroup
-
- 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.
- setEnabled(JComponent, boolean) - Static method in class com.net2plan.utils.SwingUtils
-
Enables/disables a JComponent
and all its associated children.
- 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
-
SortedSet the failure state of the node: up or down.
- setFiberNumFrequencySlots(Link, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of frequency slots available on the given fiber.
- setFibersNumFrequencySlots(NetPlan, int, NetworkLayer...) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the number of frequency slots available in each fiber to the same value.
- 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, Set<Demand>, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the forwarding rules for the given design, only for the demands that are hop-by-hop.
- 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.
- setInitiallyInjectedTrafficGbps(double) - Method in class com.net2plan.research.niw.networkModel.WServiceChain
-
Sets the traffic injected by the service chain origin node in Gbps
- setIntendedRecoveryType(Demand.IntendedRecoveryType) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the intended recovery type for this demand
- setIsConnectedToNetworkCore(boolean) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets if this node is assumed to be connected to a core node (core nodes are not in the design)
- setIsToBe11Protected(boolean) - Method in class com.net2plan.research.niw.networkModel.WLightpathRequest
-
Sets if this lightpath request has to be realized by a 1+1 setting or not
- setIsUpstream(boolean) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets if this is an upstream service chain request (initiated in the user), with true, of false if the service chain is downstream (ended in the user)
- setLenghtInKm(double) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets the link length in km
- setLengthIfNotCoupledInKm(double) - Method in class com.net2plan.research.niw.networkModel.WIpLink
-
sets the user-defined link length in km, which is assumed to be the valid one when the IP link is not coupled to a lightpath
- setLengthInKm(double) - Method in class com.net2plan.interfaces.networkDesign.Link
-
Sets the link length in km.
- setLightpathRSAAttributes(Route, WDMUtils.RSA, boolean) - Static method in class com.net2plan.libraries.WDMUtils
-
Sets the attributes of the given Route
object to reflect the RSA occupation in current, primary or a backup path.
- setLineRateGbps(double) - Method in class com.net2plan.research.niw.networkModel.WLightpathRequest
-
Sets the line rate of the lighptath request in Gbps
- 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 (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.
- setListMaxLatencyFromInitialToVnfStart_ms(List<Double>) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets the information of the list of maximum latencies (in ms) specified for this service chain.
- setMaximumAcceptableE2EWorstCaseLatencyInMs(double) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the maximum latency in ms acceptable for the demand.
- setMaximumAcceptableE2EWorstCaseLatencyInMs(double) - Method in class com.net2plan.interfaces.networkDesign.MulticastDemand
-
Sets the maximum latency in ms acceptable for the demand.
- 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
- setModulationId(String) - Method in class com.net2plan.research.niw.networkModel.WLightpathUnregenerated
-
Sets the user-defined identifier of the modulation associated to the transponder realizing this lightpath
- setMonitoredOrForecastedCarriedTraffic(TrafficSeries) - Method in class com.net2plan.interfaces.networkDesign.Link
-
Sets the new time series for the monitored or forecasted offered traffic, eliminating any previous values
- setMonitoredOrForecastedOfferedTraffic(TrafficSeries) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the new time series for the monitored or forecasted offered traffic, eliminating any previous values
- setMonitoredOrForecastedOfferedTraffic(TrafficSeries) - Method in class com.net2plan.interfaces.networkDesign.MulticastDemand
-
Sets the new time series for the monitored or forecasted offered traffic, eliminating any previous values
- setName(String) - Method in class com.net2plan.interfaces.networkDesign.NetworkElement
-
Sets this element name
- setName(String) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the node name, which must be unique among all the nodes
- setName(String) - Method in class com.net2plan.research.niw.networkModel.WVnfInstance
-
Sets the user-defined name for this instance
- setNetworkLayerDefault(NetworkLayer) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the default network layer.
- setNodePositionXY(Point2D) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the (X,Y) 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.
- 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.
- setOfferedTrafficPerPeriodGrowthFactor(double) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the growth factor of the offered traffic in subsequent periods.
- setOfferedTrafficPerPeriodGrowthFactor(double) - Method in class com.net2plan.interfaces.networkDesign.MulticastDemand
-
Sets the growth factor of the offered traffic in subsequent periods.
- setOfferedTrafficsToTheOnesEstimated() - Method in class com.net2plan.libraries.TrafficMatrixForecastUtils.TmEstimationResults
-
- setOpticalSlotIds(SortedSet<Integer>) - Method in class com.net2plan.research.niw.networkModel.WLightpathUnregenerated
-
Changes the set of optical slots occupied in all the traversed fibers of this lightpath
- 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.
- setPath(double, List<? extends NetworkElement>, List<Double>) - Method in class com.net2plan.interfaces.networkDesign.Route
-
Sets the new sequence of links and/or resources traversed by the route, carried traffic, and occupied capacity in the traversed links/resources
If the new route traverses failing link or nodes, its current
carried traffic and occupied link capacities will be zero.
- setPath(List<? extends WAbstractNetworkElement>) - Method in class com.net2plan.research.niw.networkModel.WServiceChain
-
Reconfigures the path of the service chain: the sequence of IP links and VNF instances to traverse
- setPathAndInitiallyInjectedTraffic(Optional<Double>, Optional<List<? extends WAbstractNetworkElement>>) - Method in class com.net2plan.research.niw.networkModel.WServiceChain
-
Reconfigures in one shot: (i) the injected traffic by the origin node of the service chain, and (ii) the path of the chain: the sequence of traversed IP links and VNF instances
- setPlotNodeLayoutCurrentlyActive(String) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Returns all the names (identifiers) of the current node layout
- setPmdLinkDesignValueCoeff_psPerSqrtKm(double) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets the PMD fiber design value in ps per square root of km
- setPopulation(double) - Method in class com.net2plan.interfaces.networkDesign.Node
-
Sets the population of the node (must be non-negative)
- setPoputlation(double) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the user-defined node population
- setPotentiallyValidDestinations(SortedSet<WNode>) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets the potentially valid destination nodes for the service chains of this request
- setPotentiallyValidOrigins(SortedSet<WNode>) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets the potentially valid origin nodes for the service chains of this request
- setProcessingTimeInMs(double) - Method in class com.net2plan.research.niw.networkModel.WVnfInstance
-
Sets the processing time in ms added to the traversing traffic to account for the end-to-end latencies
- setProcessingTimeToTraversingTrafficInMs(double) - Method in class com.net2plan.interfaces.networkDesign.Resource
-
Sets the processing time added to every traversing traffic
- setProgressBar(JProgressBar) - Method in interface com.net2plan.interfaces.networkDesign.HandlesProgressBar
-
- setPropagationSpeedInKmPerSecond(double) - Method in class com.net2plan.interfaces.networkDesign.Link
-
Sets the link propagation speed in km per second.
- setQoSType(String) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the QoS type of the demand.
- setQoSType(String) - Method in class com.net2plan.interfaces.networkDesign.MulticastDemand
-
Sets the QoS type of the demand.
- setQosTypePriorityAndMaxLinkUtilization(String, int, double) - Method in class com.net2plan.interfaces.networkDesign.Link
-
Sets the priority (lower better) and link percentage maximum utilization, assigned to the
QoS type indicated.
- setRoutingFromDemandLinkCarriedTraffic(DoubleMatrix2D, boolean, boolean, Set<Demand>, 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) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the routing type at the given layer.
- setRoutingTypeAllDemands(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.
- setSeqFibers(List<WFiber>) - Method in class com.net2plan.research.niw.networkModel.WLightpathUnregenerated
-
Changes the sequence of fibers traversed by this lightpath
- setSeqLinks(List<Link>) - Method in class com.net2plan.interfaces.networkDesign.Route
-
Sets the new sequence of links traversed by the route.
- setSequenceOfExpansionFactorsRespectToInjection(List<Double>) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets a list with the information of the traffic expansion factors when traversing the VNFs.
- setServiceChainSequenceOfTraversedResourceTypes(List<String>) - Method in class com.net2plan.interfaces.networkDesign.Demand
-
Sets the sequence of types of resources that the routes of this demand have to follow.
- setSiteName(String) - Method in class com.net2plan.interfaces.networkDesign.Node
-
Sets the name of the site this node is associated to, removing previous site name information.
- 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.
- setTimeSlotNameAndInitialInjectionIntensityInGbpsList(List<Pair<String, Double>>) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets the full user-defined traffic intensity information as a list of pairs, where each pair contains the user-defined name of the time slot, and the traffic intensity
associated to that time slot
- setTotalHdGB(double) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the total hard disk size (in GBytes) available in the node for instantiation of VNFs
- setTotalNumCpus(double) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the number of CPUs available in the node for instantiation of VNFs
- setTotalRamGB(double) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the total RAM (in GBytes) available in the node for instantiation of VNFs
- setTrafficMatrix(DoubleMatrix2D, Constants.RoutingType, 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.
- setType(String) - Method in class com.net2plan.research.niw.networkModel.WNode
-
Sets the user-defined node type
- setUrlIcon(URL) - Method in class com.net2plan.interfaces.networkDesign.Resource
-
Sets the url of the icon specified by the user to represent this resource.
- setUrlNodeIcon(NetworkLayer, URL, Double) - Method in class com.net2plan.interfaces.networkDesign.Node
-
Sets the url of the icon specified by the user to represent this node at the given layer, and the relative size respect to other nodes.
- setUserServiceName(String) - Method in class com.net2plan.research.niw.networkModel.WServiceChainRequest
-
Sets the name of the user service that this service chain request is associated to
- setUserServicesInfo(SortedMap<String, WUserService>) - Method in class com.net2plan.research.niw.networkModel.WNet
-
Sets a new user service id to info map, removing all previous user services defined
- setValidOpticalSlotRanges(List<Integer>) - Method in class com.net2plan.research.niw.networkModel.WFiber
-
Sets the slot ranges that this fiber can propagate.
- 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.
- setVectorLinkCapacity(DoubleMatrix1D, NetworkLayer...) - Method in class com.net2plan.interfaces.networkDesign.NetPlan
-
Sets the vector of the link capacities, at the given layer.
- 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.
- 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.
- 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.
- setVnfTypesRemovingPreviousInfo(SortedSet<WVnfType>) - Method in class com.net2plan.research.niw.networkModel.WNet
-
Sets a new VNF type map, removing all previous VNF types defined
- setXYPositionMap(Point2D, String...) - Method in class com.net2plan.interfaces.networkDesign.Node
-
Sets the node position in the map, in the current layout, used for visualization
- SharedRiskGroup - Class in com.net2plan.interfaces.networkDesign
-
- 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.MulticastDemandModify - Class in com.net2plan.interfaces.simulation
-
This class represents the request to modify an existing Demand.
- 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.
- 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(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.net2plan.utils.TimeTrace
-
- 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.WDMUtils.ModulationFormat
-
Spectral efficiency (in bps per Hz).
- spectrumAssignment_firstFit(List<Link>, DoubleMatrix2D, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Frequency slot assignment algorithm based on a first-fit fashion.
- spectrumAssignment_firstFit(Collection<WFiber>, int, Optional<Integer>) - Method in class com.net2plan.research.niw.networkModel.OpticalSpectrumManager
-
Searches for a first-fit assignment.
- spectrumAssignment_firstFitTwoRoutes(List<Link>, List<Link>, DoubleMatrix2D, int) - Static method in class com.net2plan.libraries.WDMUtils
-
Frequency slot assignment algorithm based on a first-fit fashion for two different paths.
- spectrumAssignment_firstFitTwoRoutes(Collection<WFiber>, Collection<WFiber>, int) - Method in class com.net2plan.research.niw.networkModel.OpticalSpectrumManager
-
Searches for a first-fit assignment for the two given paths, so optical slots can be different for each.
- 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.
- 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.
- stFiber_alpha1st_dB_per_km_per_THz - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stFiber_alpha_dB_per_km - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stFiber_beta2_ps2_per_km - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stFiber_effectiveArea_um2 - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stFiber_n2Coeff_m2_per_W - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- 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.
- stSpectrum_aseNoisePower_W - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stSpectrum_bandwidthPerChannel_THz - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stSpectrum_nliNoisePowerg_W - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- stSpectrum_powerPerChannel_W - Static variable in class com.net2plan.libraries.OpticalImpairmentUtils
-
- 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.
- SwingUtils - Class in com.net2plan.utils
-
A collection of utility methods for Swing.
- SwingUtils() - Constructor for class com.net2plan.utils.SwingUtils
-
- 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.