Package | Description |
---|---|
com.net2plan.interfaces.networkDesign |
Provides a set of classes and interfaces for the network design tool.
|
com.net2plan.interfaces.simulation |
Provides a set of classes for the online simulator tool.
|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
com.net2plan.research.niw.networkModel |
Modifier and Type | Method and Description |
---|---|
NetworkLayer |
NetPlan.addLayer(String name,
String description,
String linkCapacityUnitsName,
String demandTrafficUnitsName,
URL defaultNodeIconURL,
Map<String,String> attributes)
Adds a new layer.
|
NetworkLayer |
NetPlan.addLayerFrom(NetworkLayer origin)
Creates a new layer and adds the links, routes etc.
|
NetworkLayer |
NetPlan.checkContiguousPath(List<Link> links,
NetworkLayer layer,
Node originNode,
Node destinationNode)
Checks that the input sequence of links belong to the same layer and follow a contiguous path.
|
NetworkLayer |
NetPlan.checkInThisNetPlanOptionalLayerParameter(NetworkLayer... optionalLayer)
Checks if the given layer is valid and belongs to this
NetPlan design. |
NetworkLayer |
Link.getLayer()
Returns the
NetworkLayer the link belongs to. |
NetworkLayer |
Demand.getLayer()
Returns the
NetworkLayer object this element is attached to. |
NetworkLayer |
MulticastTree.getLayer()
Returns the
NetworkLayer object this element belongs to. |
NetworkLayer |
Route.getLayer()
Returns the route layer
|
NetworkLayer |
MulticastDemand.getLayer()
Returns the
NetworkLayer object this element belongs to |
NetworkLayer |
NetPlan.getNetworkLayer(int index)
Returns the network layer with the given unique identifier.
|
NetworkLayer |
NetPlan.getNetworkLayer(String name)
Returns the network layer with the given name.
|
NetworkLayer |
NetPlan.getNetworkLayerDefault()
Return the default network layer.
|
NetworkLayer |
NetPlan.getNetworkLayerFromId(long uid)
Returns the network layer with the given unique identifier.
|
Modifier and Type | Method and Description |
---|---|
List<NetworkLayer> |
NetPlan.getNetworkLayerInTopologicalOrder()
Returns network layers in bottom-up order, that is, starting from the
lower layers to the upper layers following coupling relationships.
|
List<NetworkLayer> |
NetPlan.getNetworkLayers()
Returns the array of network layers (i-th position, corresponds to index i).
|
SortedSet<NetworkLayer> |
NetPlan.getTaggedLayers(String tag)
Returns the set of layers with the given tag.
|
SortedSet<NetworkLayer> |
Node.getWorkingLayers()
Returns the layers where this node is working: has at least one link, or demand, or multicast demand at the given layer associated to it.
|
Modifier and Type | Method and Description |
---|---|
Demand |
NetPlan.addDemand(Node ingressNode,
Node egressNode,
double offeredTraffic,
Constants.RoutingType routingType,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds a new traffic demand.
|
Pair<Demand,Demand> |
NetPlan.addDemandBidirectional(Node ingressNode,
Node egressNode,
double offeredTraffic,
Constants.RoutingType routingType,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds two demands, one in each direction,.
|
List<Demand> |
NetPlan.addDemandsFromTrafficMatrix(DoubleMatrix2D trafficMatrix,
Constants.RoutingType routingType,
NetworkLayer... optionalLayerParameter)
Adds new traffic demands froma traffic matrix given as a
DoubleMatrix2D object. |
NetworkLayer |
NetPlan.addLayerFrom(NetworkLayer origin)
Creates a new layer and adds the links, routes etc.
|
Link |
NetPlan.addLink(Node originNode,
Node destinationNode,
double capacity,
double lengthInKm,
double propagationSpeedInKmPerSecond,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds a new link.
|
Pair<Link,Link> |
NetPlan.addLinkBidirectional(Node originNode,
Node destinationNode,
double capacity,
double lengthInKm,
double propagationSpeedInKmPerSecond,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds two links, one in each direction.
|
MulticastDemand |
NetPlan.addMulticastDemand(Node ingressNode,
Set<Node> egressNodes,
double offeredTraffic,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds a new multicast traffic demand.
|
void |
NetPlan.addRoutesAndBackupRoutesFromCandidate11PathList(SortedMap<Pair<Node,Node>,List<Pair<List<Link>,List<Link>>>> cpl11,
NetworkLayer... optionalLayer)
For each demand in the map, adds a number of route pairs with the given paths, where each route pair has a primary route and one backup to it.
|
void |
NetPlan.addRoutesFromCandidatePathList(SortedMap<Pair<Node,Node>,List<List<Link>>> cpl,
NetworkLayer... optionalLayer)
Adds multiples routes for each demand of the given layer, using the paths in an input Candidate Path List.
|
NetworkLayer |
NetPlan.checkContiguousPath(List<Link> links,
NetworkLayer layer,
Node originNode,
Node destinationNode)
Checks that the input sequence of links belong to the same layer and follow a contiguous path.
|
NetworkLayer |
NetPlan.checkInThisNetPlanOptionalLayerParameter(NetworkLayer... optionalLayer)
Checks if the given layer is valid and belongs to this
NetPlan design. |
DoubleMatrix1D |
NetPlan.checkMatrixDemandLinkCarriedTrafficFlowConservationConstraints(DoubleMatrix2D x_de,
boolean xdeValueAsFractionsRespectToDemandOfferedTraffic,
NetworkLayer... optionalLayerParameter)
Checks the flow conservation constraints, and returns the traffic carried per demand.
|
DoubleMatrix2D |
NetPlan.checkMatrixDestinationLinkCarriedTrafficFlowConservationConstraints(DoubleMatrix2D x_te,
NetworkLayer... optionalLayerParameter)
Checks the flow conservation constraints, and returns the traffic carried per input output node pair.
|
SortedMap<MulticastDemand,List<SortedSet<Link>>> |
NetPlan.computeMulticastCandidatePathList(NetworkLayer layer,
DoubleMatrix1D linkCosts,
String solverName,
String solverLibraryName,
double maxSolverTimeInSecondsPerTree,
String... candidateTreeListParamValuePairs)
Adds multicast trees specified by those trees that satisfy the options described below.
|
DoubleMatrix1D |
NetPlan.computeMulticastTreeCostVector(double[] costs,
NetworkLayer... optionalLayerParameter)
Returns an array with the cost of each multicast tree in the layer.
|
DoubleMatrix1D |
NetPlan.computeRouteCostVector(double[] costs,
NetworkLayer... optionalLayerParameter)
Returns an array with the cost of each route in the layer.
|
SortedMap<Pair<Node,Node>,List<List<Link>>> |
NetPlan.computeUnicastCandidatePathList(DoubleMatrix1D linkCosts,
int K,
double maxLengthInKm,
int maxNumHops,
double maxPropDelayInMs,
double maxRouteCost,
double maxRouteCostFactorRespectToShortestPath,
double maxRouteCostRespectToShortestPath,
SortedSet<Pair<Node,Node>> nodePairs,
NetworkLayer... optionalLayerParameter)
Computes for all the node pairs, a candidate path list in the given layer, composed of the k shortest paths according with the options indicated below.
|
SortedMap<Demand,List<List<NetworkElement>>> |
NetPlan.computeUnicastCandidateServiceChainList(DoubleMatrix1D linkCosts,
DoubleMatrix1D resourceCosts,
int K,
double maxCostServiceChain,
double maxLengthInKmPerSubpath,
int maxNumHopsPerSubpath,
double maxPropDelayInMsPerSubpath,
NetworkLayer... optionalLayerParameter)
Computes for each demand (service chain request) up to k minimum cost service chain paths (sequence and links and resources), according to
the link and resources cost information provided, as well as other constraints defined in the input parameters.
|
Demand |
Link.coupleToNewDemandCreated(NetworkLayer newDemandLayer,
Constants.RoutingType routingTypeDemand)
Creates a new
Demand in the given layer, with same end nodes as the link, and then couples the link to the new created demand. |
Link |
Demand.coupleToNewLinkCreated(NetworkLayer newLinkLayer)
Creates a new link in the given layer with same end nodes, and couples it to this demand.
|
SortedSet<Link> |
MulticastDemand.coupleToNewLinksCreated(NetworkLayer newLinkLayer)
Creates new links in the given layer, from the demand ingress node to each one of the demand egress nodes, and couples these newly created links to the multicast demand.
|
SortedSet<Link> |
SharedRiskGroup.getAffectedLinks(NetworkLayer layer)
Returns all the links affected by this SRG, but only those at a particular layer.
|
SortedSet<MulticastTree> |
SharedRiskGroup.getAffectedMulticastTrees(NetworkLayer layer)
Returns the set of multicast trees in the given layer affected by the SRG (fail, when the SRG is in failure state)
|
SortedSet<Route> |
SharedRiskGroup.getAffectedRoutes(NetworkLayer layer)
Returns the set of routes in the given layer affected by the SRG (fail, when the SRG is in failure state)
|
SortedMap<Link,SortedMap<String,Pair<Double,Double>>> |
NetPlan.getAllLinksPerQosOccupationAndQosViolationMap(NetworkLayer... optionalLayerParameter)
For each link in the given layer, returns a map, with key the QoS types traversing it, and two
associated values: (i) the total traffic occupied of such Qos type, (ii) the amount out of that traffic that is violating the QoS
|
SortedSet<MulticastTree> |
Node.getAssociatedMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees that start, end or traverse this node, in the given layer.
|
SortedSet<Route> |
Node.getAssociatedRoutes(NetworkLayer... optionalLayerParameter)
Returns the set of routes that start, end or traverse this node, in the given layer.
|
Demand |
NetPlan.getDemand(int index,
NetworkLayer... optionalLayerParameter)
Returns the demand with the given index.
|
ArrayList<Long> |
NetPlan.getDemandIds(NetworkLayer... optionalLayerParameter)
Returns the array of demand unique ids for the given layer (i-th position, corresponds to index i).
|
List<Demand> |
NetPlan.getDemands(NetworkLayer... optionalLayerParameter)
Returns the array of demands for the given layer (i-th position, corresponds to index i).
|
List<Demand> |
NetPlan.getDemandsBlocked(NetworkLayer... optionalLayerParameter)
Returns the demands that have blocked traffic in the given layer.
|
SortedSet<Demand> |
NetPlan.getDemandsCoupled(NetworkLayer... optionalLayerParameter)
Returns the set of unicast demands that are coupled.
|
List<Demand> |
NetPlan.getDemandsHopByHopRouted(NetworkLayer... optionalLayerParameter)
Returns the array of demands in the given layer that are hop-by-hop routed, ordered by its index.
|
List<Demand> |
NetPlan.getDemandsSourceRouted(NetworkLayer... optionalLayerParameter)
Returns the array of demands in the given layer that are source routed, ordered by its index.
|
String |
NetPlan.getDemandTrafficUnitsName(NetworkLayer... optionalLayerParameter)
Returns the name of the traffic units of the demands of the given layer.
|
double |
Node.getEgressCarriedMulticastTraffic(NetworkLayer... optionalLayerParameter)
Returns the total current multicast carried traffic ending in the node, counting the multicast demands at the given layer.
|
double |
Node.getEgressCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total current carried traffic ending in the node, counting the demands at the given layer.
|
double |
Node.getEgressOfferedMulticastTraffic(NetworkLayer... optionalLayerParameter)
Returns the total multicast offered traffic ending in the node, counting the multicast demands at the given layer.
|
double |
Node.getEgressOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total unicast offered traffic ending in the node, counting the demands at the given layer.
|
SortedSet<Route> |
Node.getExpressRoutes(NetworkLayer... optionalLayerParameter)
Returns the set of routes that traverse this node but not as the origin node of the first link, nor
the ending node of the last link
|
SortedMap<Pair<Demand,Link>,Double> |
NetPlan.getForwardingRules(NetworkLayer... optionalLayerParameter)
Returns the forwarding rules for the given layer.
|
SortedMap<Pair<Demand,Link>,Double> |
Node.getForwardingRules(NetworkLayer... optionalLayerParameter)
Returns the set of forwarding rules of links initiated in the node of the given layer,
which have a non-zero splitting factor.
|
SortedSet<Demand> |
Node.getIncomingDemands(NetworkLayer... optionalLayerParameter)
Returns the set of demands ending in the node, in the given layer.
|
SortedSet<Link> |
Node.getIncomingLinks(NetworkLayer... optionalLayerParameter)
Returns the set of links ending in the node, in the given layer.
|
double |
Node.getIncomingLinksCapacity(NetworkLayer... optionalLayerParameter)
Returns the total capacity in the links of te given layer entering the node.
|
double |
Node.getIncomingLinksTraffic(NetworkLayer... optionalLayerParameter)
Returns the total carried in the links of te given layer entering the node.
|
SortedSet<MulticastDemand> |
Node.getIncomingMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of multicast demands ending in the node, in the given layer.
|
SortedSet<MulticastTree> |
Node.getIncomingMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees ending in the node, in the given layer.
|
SortedSet<Route> |
Node.getIncomingRoutes(NetworkLayer... optionalLayerParameter)
Returns the set of routes ending in the node, in the given layer.
|
double |
Node.getIngressCarriedMulticastTraffic(NetworkLayer... optionalLayerParameter)
Returns the total current multicast carried traffic initiated in the node, counting the multicast demands at the given layer.
|
double |
Node.getIngressCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total current carried traffic initiated in the node, counting the demands at the given layer.
|
double |
Node.getIngressOfferedMulticastTraffic(NetworkLayer... optionalLayerParameter)
Returns the total multicast offered traffic initiated in the node, counting the multicast demands at the given layer.
|
double |
Node.getIngressOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total unicast offered traffic initited in the node, counting the demands at the given layer.
|
SortedSet<Node> |
Node.getInNeighbors(NetworkLayer... optionalLayerParameter)
Returns the nodes directly connected to this, with links ending in this node at the given layer.
|
Link |
NetPlan.getLink(int index,
NetworkLayer... optionalLayerParameter)
Returns the link with the given index in the given layer.
|
String |
NetPlan.getLinkCapacityUnitsName(NetworkLayer... optionalLayerParameter)
Returns the name of the capacity units of the links of the given layer.
|
ArrayList<Long> |
NetPlan.getLinkIds(NetworkLayer... optionalLayerParameter)
Returns the array of link ids for the given layer (i-th position, corresponds to index i).
|
List<Link> |
NetPlan.getLinks(NetworkLayer... optionalLayerParameter)
Return a list of all the links in the given layer.
|
SortedSet<Link> |
SharedRiskGroup.getLinks(NetworkLayer layer)
Returns the set of links associated to the SRG (fail, when the SRG is in failure state), but only those belonging to the given layer.
|
SortedSet<Link> |
NetPlan.getLinksAreBottleneck(NetworkLayer... optionalLayerParameter)
Returns the set of links that are a bottleneck, i.e the fraction of occupied capacity respect to the total
is highest.
|
SortedSet<Link> |
NetPlan.getLinksCoupledToMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of links that are coupled to a multicast demand in the given layer.
|
SortedSet<Link> |
NetPlan.getLinksCoupledToUnicastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of links that are couple to a unicast demand in the given layer.
|
SortedSet<Link> |
NetPlan.getLinksDown(NetworkLayer... optionalLayerParameter)
Returns the set of links that are down in the given layer.
|
SortedSet<Link> |
NetPlan.getLinksOversubscribed(NetworkLayer... optionalLayerParameter)
Returns the set of links oversuscribed: the total occupied capacity exceeds the link capacity.
|
SortedSet<Link> |
NetPlan.getLinksUp(NetworkLayer... optionalLayerParameter)
Returns the set of links that are up in the given layer.
|
SortedSet<Link> |
NetPlan.getLinksWithZeroCapacity(NetworkLayer... optionalLayerParameter)
Returns the set of links that have zero capacity in the given layer.
|
DoubleMatrix2D |
NetPlan.getMatrixDemand2LinkAssignment(NetworkLayer... optionalLayerParameter)
Returns the demand-link incidence matrix (a DxE matrix in
which an element δde is equal to the number of
times which traffic routes carrying traffic from demand d traverse
link e).
|
DoubleMatrix2D |
NetPlan.getMatrixDemand2LinkTrafficCarried(SortedSet<Demand> demandsOfInterest,
NetworkLayer... optionalLayerParameter)
Returns the demand-link incidence matrix (DxE in which an element δde is equal to the amount of traffic of each demand carried in each link).
|
DoubleMatrix2D |
NetPlan.getMatrixDemand2ResourceAssignment(NetworkLayer... optionalLayerParameter)
Returns the demand-resource incidence matrix, with as many rows as demands of the given layer, and
a many colmns as resources, coordinate (d,r) equals the number of times that
traffic routes of the demand d, traverse resource r.
|
DoubleMatrix2D |
NetPlan.getMatrixDemand2ResourceOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns the demand-resource matrix, with as many rows as demands of the given layer, and as many columns as resources,
coordinate (d,r) is the resource capacity that demand d currently occupies in resource r (recall that failed routes do not occupy capacity
in the traversed resources).
|
DoubleMatrix2D |
NetPlan.getMatrixDemand2RouteAssignment(NetworkLayer... optionalLayerParameter)
Returns the demand-route incidence matrix (a DxR matrix in
which an element δdr is equal to 1 if traffic
route r is able to carry traffic from demand d).
|
DoubleMatrix2D |
NetPlan.getMatrixDemandBasedForwardingRules(NetworkLayer... optionalLayerParameter)
Returns the splitting ratio matrix (fractions of traffic entering a node from
demand 'd', leaving that node through link 'e').
|
DoubleMatrix2D |
NetPlan.getMatrixDestination2LinkTrafficCarried(NetworkLayer... optionalLayerParameter) |
DoubleMatrix2D |
NetPlan.getMatrixDestinationBasedForwardingRules(NetworkLayer... optionalLayer)
A destination-based routing in the form of fractions fte (fraction of the traffic targeted to node t that arrives (or is generated in) node a(e)
(the initial node of link e), that is forwarded through link e).
|
DoubleMatrix2D |
NetPlan.getMatrixLink2LinkBidirectionalityMatrix(NetworkLayer... optionalLayerParameter)
Returns the link-link bidirectionality matrix (a ExE matrix where the element δee' equals 1 when each position e and e' represent a bidirectional
link at the given layer.
|
DoubleMatrix2D |
NetPlan.getMatrixLink2MulticastTreeAssignment(NetworkLayer... optionalLayerParameter)
Returns the link-multicast incidence matrix (an ExT matrix in which an element δet is equal
to the number of times a multicast tree t traverse link e.
|
DoubleMatrix2D |
NetPlan.getMatrixLink2RouteAssignment(NetworkLayer... optionalLayerParameter)
Returns the link-route incidence matrix (an ExR matrix in
which an element δep is equal to the number of
times which traffic route r traverses link e).
|
DoubleMatrix2D |
NetPlan.getMatrixLink2RouteFirstBackupRouteAssignment(NetworkLayer... optionalLayerParameter)
Returns a matrix with as many rows as links and as many columns as routes in the given layer,
the position (e,r) contains the number of times that the first backup path of route r traveres link e
|
DoubleMatrix2D |
NetPlan.getMatrixLink2SRGAssignment(NetworkLayer... optionalLayerParameter)
Returns the link-srg assignment matrix (an ExS matrix in which an element δes equals 1 if link e
fails when SRG s is affected.
|
DoubleMatrix2D |
NetPlan.getMatrixMulticastDemand2LinkAssignment(NetworkLayer... optionalLayerParameter)
Returns the multicast demand-link incidence matrix (a DxE matrix in
which an element δde is equal to the number of
times which multicast trees carrying traffic from demand d traverse
link e).
|
DoubleMatrix2D |
NetPlan.getMatrixMulticastDemand2LinkTrafficCarried(NetworkLayer... optionalLayerParameter)
Returns the multicast demand-link incidence matrix (DxE in which an element δde is equal to the amount of traffic of
each multicast demand carried in each link).
|
DoubleMatrix2D |
NetPlan.getMatrixMulticastDemand2MulticastTreeAssignment(NetworkLayer... optionalLayerParameter)
Returns the multicast demand-multicast tree incidence matrix (a DxT matrix in
which an element δdt is equal to 1 if multicast tree t is able to carry traffic from multicast demand d).
|
DoubleMatrix2D |
NetPlan.getMatrixMulticastTree2SRGAffecting(NetworkLayer... optionalLayerParameter)
Returns the multicast tree-srg incidence matrix (an TxS matrix in which an element δts equals 1 when multicast tree t
fails when SRG s is affected.
|
DoubleMatrix2D |
NetPlan.getMatrixNode2NodeOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns the traffic matrix, where rows and columns represent the ingress
node and the egress node, respectively, in increasing order of identifier.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeDemandAdjacency(NetworkLayer... optionalLayerParameter)
Returns a NxN matrix where each position accounts from the humber of demands that node i (row) as ingress node and j (column) as egress node.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeDemandIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-demand incidence matrix (a NxD in which an element δnd equals 1 if n is the ingress node of d,
-1 if n is the egress node of d and 0 otherwise).
|
DoubleMatrix2D |
NetPlan.getMatrixNodeDemandIncomingIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-demand incoming incidence matrix (a NxD matrix in which element δnd equals 1 if demand d is terminated
in node n and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeDemandOutgoingIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-demand outgoing incidence matrix (a NxD matrix in which element δnd equals 1 if demand d is initiated
in node n and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeLinkAdjacency(NetworkLayer... optionalLayerParameter)
Returns the node-link adjacency matrix (a NxN matrix in which element δij is equals to the number of links from node i to node j.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeLinkIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-link incidence matrix (a NxE matrix in which element δne equals 1 if link e is initiated in node n, -1
if link e ends in node n, and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeLinkIncomingIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-link incoming incidence matrix (a NxE matrix in which element δne equals 1 if link e is terminated in node n,
and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeLinkOutgoingIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-link outgoing incidence matrix (a NxE matrix in which element δne equals 1 if link e is initiated in node n,
and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeMulticastDemandAdjacency(NetworkLayer... optionalLayerParameter)
Returns a NxN matrix where each position accounts from the humber of multicast demands that node i (row) as ingress node and j (column) as an egress node.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeMulticastDemandIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-multicast demand incidence matrix (a NxD in which an element δnd equals 1 if n is the ingress node of d,
-1 if n is an egress node of d and 0 otherwise).
|
DoubleMatrix2D |
NetPlan.getMatrixNodeMulticastDemandIncomingIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-multicast demand incoming incidence matrix (a NxD matrix in which element δnd equals 1 if multicast demand d is terminated
in node n and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixNodeMulticastDemandOutgoingIncidence(NetworkLayer... optionalLayerParameter)
Returns the node-multicast demand outgoing incidence matrix (a NxD matrix in which element δnd equals 1 if demand d is initiated
in node n and 0 otherwise.
|
DoubleMatrix2D |
NetPlan.getMatrixResource2RouteAssignment(NetworkLayer... optionalLayerParameter)
Returns a matrix with as many rows resources, and columns as routes in the given layer,
coordinate (res,rou) contains the number times that route rou
traverses resource res.
|
Pair<List<Resource>,DoubleMatrix2D> |
NetPlan.getMatrixResource2RouteAssignment(String type,
NetworkLayer... optionalLayerParameter)
Returns a matrix with as many rows resources, and columns as routes in the given layer,
coordinate (res,rou) contains the number times that route rou
traverses resource res.
|
DoubleMatrix2D |
NetPlan.getMatrixResource2RouteOccupation(NetworkLayer... optionalLayerParameter)
Returns a matrix with as many rows resources, and columns as routes in the given layer, and coordinate (res,rou) contains
the capacity occupied by route rou in resource res (note that if a route is down, its occupied capacity in a resource becomes zero).
|
DoubleMatrix2D |
NetPlan.getMatrixRoute2SRGAffecting(NetworkLayer... optionalLayerParameter)
Returns the route-srg incidence matrix (an RxS matrix in which an element δrs equals 1 if route r
fails when SRG s is affected.
|
DoubleMatrix2D |
NetPlan.getMatrixRouteFirstBackupRoute2SRGAffecting(NetworkLayer... optionalLayerParameter)
Returns a matrix with as many rows as routes of the given layer, and as many
columns as SRGS.
|
MulticastDemand |
NetPlan.getMulticastDemand(int index,
NetworkLayer... optionalLayerParameter)
Returns the multicast demand with the given index in the given layer.
|
ArrayList<Long> |
NetPlan.getMulticastDemandIds(NetworkLayer... optionalLayerParameter)
Returns the array of multicast demand ids for the given layer (i-th position, corresponds to index i).
|
List<MulticastDemand> |
NetPlan.getMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the list of multicast demands for the given layer (i-th position, corresponds to multicast demand with index i).
|
List<MulticastDemand> |
NetPlan.getMulticastDemandsBlocked(NetworkLayer... optionalLayerParameter)
Returns the multicast demands that have blocked traffic in the given layer.
|
MulticastTree |
NetPlan.getMulticastTree(int index,
NetworkLayer... optionalLayerParameter)
Returns the multicast tree with the given index in the given layer.
|
ArrayList<Long> |
NetPlan.getMulticastTreeIds(NetworkLayer... optionalLayerParameter)
Returns the array of multicast tree ids for the given layer (i-th position, corresponds to index i).
|
List<MulticastTree> |
NetPlan.getMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the array of multicast trees for the given layer (i-th position, corresponds to index i).
|
SortedSet<MulticastTree> |
NetPlan.getMulticastTreesDown(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees that are down (i.e.
|
SortedSet<MulticastTree> |
NetPlan.getMulticastTreesTraversingZeroCapLinks(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees that are down (i.e.
|
double |
Node.getNodeIconRelativeSize(NetworkLayer layer)
Returns the relative size (a number greater than zero), of the icon of this node in the GUI.
|
SortedSet<Demand> |
NetPlan.getNodePairDemands(Node originNode,
Node destinationNode,
boolean returnDemandsInBothDirections,
NetworkLayer... optionalLayerParameter)
Gets the set of demands at the given layer from the input nodes (if
returnDemandsInBothDirections is true , also the reversed links are included). |
SortedSet<Link> |
NetPlan.getNodePairLinks(Node originNode,
Node destinationNode,
boolean returnLinksInBothDirections,
NetworkLayer... optionalLayerParameter)
Gets the set of links at the given layer from the given nodes (if
returnLinksInBothDirections is true , also the reversed links are included). |
SortedSet<Route> |
NetPlan.getNodePairRoutes(Node originNode,
Node destinationNode,
boolean returnRoutesInBothDirections,
NetworkLayer... optionalLayerParameter)
Gets the set of routes at the given layer from the given nodes (if
returnRoutesInBothDirections is true , also the reversed routes are included). |
int |
NetPlan.getNumberOfDemands(NetworkLayer... optionalLayerParameter)
Returns the number of demands at the given layer.
|
int |
NetPlan.getNumberOfForwardingRules(NetworkLayer... optionalLayerParameter)
Returns the number of non-zero forwarding rules at the given layer.
|
int |
NetPlan.getNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns the number of links at the given layer.
|
int |
NetPlan.getNumberOfMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the number of multicast demands at the given layer.
|
int |
NetPlan.getNumberOfMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the number of multicast trees at the given layer.
|
int |
NetPlan.getNumberOfRoutes(NetworkLayer... optionalLayerParameter)
Returns the number of routes at the given layer.
|
SortedSet<Demand> |
Node.getOutgoingDemands(NetworkLayer... optionalLayerParameter)
Returns the set of demands initiated in the node, in the given layer.
|
SortedSet<Link> |
Node.getOutgoingLinks(NetworkLayer... optionalLayerParameter)
Returns the set of links initiated in the node, in the given layer.
|
double |
Node.getOutgoingLinksCapacity(NetworkLayer... optionalLayerParameter)
Returns the total capacity in the links of te given layer entering the node.
|
double |
Node.getOutgoingLinksTraffic(NetworkLayer... optionalLayerParameter)
Returns the total carried in the links of te given layer entering the node.
|
SortedSet<MulticastDemand> |
Node.getOutgoingMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of multicast demands initiated in the node, in the given layer.
|
SortedSet<MulticastTree> |
Node.getOutgoingMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the set of multicast tree initiated in the node, in the given layer.
|
SortedSet<Route> |
Node.getOutgoingRoutes(NetworkLayer... optionalLayerParameter)
Returns the set of routes initiated in the node, in the given layer.
|
SortedSet<Node> |
Node.getOutNeighbors(NetworkLayer... optionalLayerParameter)
Returns the nodes directly connected to this, with links initiated in this node at the given layer.
|
Route |
NetPlan.getRoute(int index,
NetworkLayer... optionalLayerParameter)
Returns the route with the given index in the given layer.
|
ArrayList<Long> |
NetPlan.getRouteIds(NetworkLayer... optionalLayerParameter)
Returns the array of route ids for the given layer (i-th position, corresponds to index i).
|
List<Route> |
NetPlan.getRoutes(NetworkLayer... optionalLayerParameter)
Returns the array of route ids for the given layer (i-th position, corresponds to index i).
|
List<Route> |
NetPlan.getRoutesAreBackup(NetworkLayer... optionalLayerParameter)
Returns the list of routes which are not backup of any other route
|
List<Route> |
NetPlan.getRoutesAreNotBackup(NetworkLayer... optionalLayerParameter)
Returns the list of routes which are backup of any other route
|
SortedSet<Route> |
NetPlan.getRoutesDown(NetworkLayer... optionalLayerParameter)
Returns the set of routes that are down (traverse a link or node that is failed).
|
SortedSet<Route> |
NetPlan.getRoutesTraversingZeroCapacityLinks(NetworkLayer... optionalLayerParameter)
Returns the set of routes that are traversing a link with zero capacity.
|
SortedSet<Demand> |
NetPlan.getTaggedDemands(String tag,
NetworkLayer... optionalLayerParameter)
Returns the set of demands in the given layer with the given tag.
|
SortedSet<Link> |
NetPlan.getTaggedLinks(String tag,
NetworkLayer... optionalLayerParameter)
Returns the set of links in the given layer with the given tag.
|
SortedSet<MulticastDemand> |
NetPlan.getTaggedMulticastDemands(String tag,
NetworkLayer... optionalLayerParameter)
Returns the set of multicast demands in the given layer with the given tag.
|
SortedSet<MulticastTree> |
NetPlan.getTaggedMulticastTrees(String tag,
NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees in the given layer with the given tag.
|
SortedSet<Route> |
NetPlan.getTaggedRoutes(String tag,
NetworkLayer... optionalLayerParameter)
Returns the set of routes in the given layer with the given tag.
|
URL |
Node.getUrlNodeIcon(NetworkLayer layer)
Returns the url of the icon specified by the user to represent this node at the given layer, or null if none
|
DoubleMatrix1D |
NetPlan.getVectorDemandBlockedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the blocked traffic per demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorDemandCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorDemandOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic per demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorDemandTraversesOversubscribedLink(NetworkLayer... optionalLayerParameter)
Returns a vector where each index equals the demand index and the value is 1 if said demand traverses oversubscrined links, 0 otherwise.
|
DoubleMatrix1D |
NetPlan.getVectorDemandWorseCasePropagationTimeInMs(NetworkLayer... optionalLayerParameter)
Returns the vector with the worst propagation time (in ms) per demand at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the capacity per link, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the total carried traffic per link, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkLengthInKm(NetworkLayer... optionalLayerParameter)
Returns a vector with the length in km in the links, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the total occupied capacity in the links, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkOversubscribedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the oversubscibed traffic (oversubscribed traffic being the sum of all carried traffic, minus the capacity, or 0 if such substraction is negative) in each link at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkPropagationDelayInMiliseconds(NetworkLayer... optionalLayerParameter)
Returns a vector with the propagation delay in milliseconds in the links, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkPropagationSpeedInKmPerSecond(NetworkLayer... optionalLayerParameter)
Returns a vector with the propagation speed in km/s in the links, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkSpareCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the spare capacity (available minus occupied, or zero if oversubscribed) per link, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkUpState(NetworkLayer... optionalLayerParameter)
Returns a vector with the up/down state in the links (1 up, 0 down), at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkUtilization(NetworkLayer... optionalLayerParameter)
Returns a vector with the utilization per link, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandBlockedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the blocked traffic per multicast demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per multicast demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic per multicast demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandTraversesOversubscribedLink(NetworkLayer... optionalLayerParameter)
Returns the vector indicating wheter a multicast demnd traverses (1) or not (0) oversubscribes links at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandWorseCasePropagationTimeInMs(NetworkLayer... optionalLayerParameter)
Returns the vector with the worst propagation time (in ms) per multicast demand at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeAverageNumberOfHops(NetworkLayer... optionalLayerParameter)
Returns a vector with the avergage number of hops per multicast tree at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per multicast tree, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns a vector with the number of links per multicast tree, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the occupied capacity traffic per multicast tree, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeOfferedTrafficOfAssociatedMulticastDemand(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic per multicast tree from its associated multicast demand, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorNodeEgressUnicastTraffic(NetworkLayer... optionalLayerParameter)
Returns the vector with the total incoming offered traffic per node at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorNodeIngressUnicastTraffic(NetworkLayer... optionalLayerParameter)
Returns the vector with the total outgoing offered traffic per node at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorRouteCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per route, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorRouteFirstBackupRouteLengthInKm(NetworkLayer... optionalLayerParameter)
Returns a vector with one element per route, containing the length in km of the first defined backup path for such route.
|
DoubleMatrix1D |
NetPlan.getVectorRouteFirstBackupRouteNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns a vector with one element per route, containing the number of links of the first defined backup path for such route.
|
DoubleMatrix1D |
NetPlan.getVectorRouteLengthInKm(NetworkLayer... optionalLayerParameter)
Returns a vector with the length in km per route, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorRouteNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns a vector with the number of links per route, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorRouteOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the occupied capacity traffic per route, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorRouteOfferedTrafficOfAssociatedDemand(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic (from its associated demand) per route at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorRoutePropagationDelayInMiliseconds(NetworkLayer... optionalLayerParameter)
Returns a vector with the propagation delay in seconds per route, at the given layer.
|
boolean |
NetPlan.hasDemands(NetworkLayer... optionalLayerParameter)
Returns
true if the network has one or more demands at the given layer. |
boolean |
NetPlan.hasForwardingRules(NetworkLayer... optionalLayerParameter)
Returns
true if the network has at least one non-zero forwarding rule splitting ratio in any demand-link pair, in the given layer. |
boolean |
NetPlan.hasLinks(NetworkLayer... optionalLayerParameter)
Returns
true if the network has one or more links at the given layer. |
boolean |
NetPlan.hasMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns
true if the network has one or more multicast demands at the given layer. |
boolean |
NetPlan.hasMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns
true if the network has one or more multicast trees at the given layer. |
boolean |
NetPlan.hasRoutes(NetworkLayer... optionalLayerParameter)
Returns
true if the network has one or moreroutes at the given layer. |
boolean |
NetPlan.hasUnicastRoutingLoops(NetworkLayer... optionalLayerParameter)
Returns
true if the network has at least one routing cycle at the given layer. |
boolean |
NetworkLayer.isDeepCopy(NetworkLayer e2)
Returns true if the provided network layer is a deep copy of this
|
boolean |
NetPlan.isLayerCouplingValid(NetworkLayer lowerLayer,
NetworkLayer upperLayer)
Indicates whether or not a further coupling between two layers would be valid.
|
boolean |
NetPlan.isMulticastRoutingBifurcated(NetworkLayer... optionalLayerParameter)
Returns
true if in the given layer, the traffic of any multicast demand is carried by more than one multicast tree. |
boolean |
NetPlan.isUnicastRoutingBifurcated(NetworkLayer... optionalLayerParameter)
Returns
true if in the given layer, the traffic of any demand is carried by more than one route (in SOURCE_ROUTING ),
or a node sends traffic of a demand to more than
one link (in HOP_BY_HOP_ROUTING ). |
boolean |
Node.isWorkingAtLayer(NetworkLayer layer)
Returns true has at least one link, or demand, or multicast demand at the given layer associated to it.
|
void |
NetPlan.removeAllDemands(NetworkLayer... optionalLayerParameter)
Removes all the demands defined in the given layer.
|
void |
NetPlan.removeAllForwardingRules(NetworkLayer... optionalLayerParameter)
Removes all the forwarding rules in the given layer.
|
void |
Node.removeAllForwardingRules(NetworkLayer... optionalLayerParameter)
Removes all forwarding rules associated to the node for a given layer (that is, of layer links outgoing from the node).
|
void |
NetPlan.removeAllLinks(NetworkLayer... optionalLayerParameter)
Removes all the links defined in the given layer.
|
void |
NetPlan.removeAllLinksUnused(double toleranceCapacityValueToConsiderUnusedLink,
NetworkLayer... optionalLayerParameter)
Removes all the unsused links (those whith lesser capacity than
toleranceCapacityValueToConsiderUnusedLink ) defined in the given layer. |
void |
NetPlan.removeAllMulticastDemands(NetworkLayer... optionalLayerParameter)
Removes all the multicast demands defined in the given layer.
|
void |
NetPlan.removeAllMulticastTrees(NetworkLayer... optionalLayerParameter)
Removes all the multicast trees defined in the given layer.
|
void |
NetPlan.removeAllMulticastTreesUnused(double toleranceTrafficAndCapacityValueToConsiderUnusedTree,
NetworkLayer... optionalLayerParameter)
Removes all the multicast trees carrying no traffic and occupying no link capacity (even in the no failure state) defined in the given layer.
|
void |
NetPlan.removeAllRoutes(NetworkLayer... optionalLayerParameter)
Removes all the routes defined in the given layer.
|
void |
NetPlan.removeAllRoutesUnused(double toleranceTrafficAndCapacityValueToConsiderUnusedRoute,
NetworkLayer... optionalLayerParameter)
Removes all the routes defined in the given layer that do not carry traffic nor occupy link capacity in the given layer
(even in a no-failure state).
|
void |
NetPlan.removeAllUnicastRoutingInformation(NetworkLayer... optionalLayerParameter)
Removes all the routing information (unicast and multicast) for the given layer, irrespective of the routing type
setting.
|
void |
NetPlan.removeNetworkLayer(NetworkLayer... optionalLayerParameter)
Removes a layer, and any associated link, demand, route, or forwarding rule.
|
void |
Node.removeUrlNodeIcon(NetworkLayer layer)
Removes any previous url of the node icon for this layer (if any)
|
void |
NetPlan.setAllLinksFailureState(boolean setAsUp,
NetworkLayer... optionalLayerParameter)
Sets the failure state (up or down) for all the links in the given layer.
|
void |
NetPlan.setDemandTrafficUnitsName(String demandTrafficUnitsName,
NetworkLayer... optionalLayerParameter)
Sets the name of the units in which the offered traffic is measured (e.g.
|
void |
NetPlan.setForwardingRules(DoubleMatrix2D f_de,
Set<Demand> demandsToUpdate,
NetworkLayer... optionalLayerParameter)
Sets the forwarding rules for the given design, only for the demands that are hop-by-hop.
|
void |
NetPlan.setLinkCapacityUnitsName(String name,
NetworkLayer... optionalLayerParameter)
Sets the name of the units in which the link capacity is measured (e.g.
|
void |
NetPlan.setNetworkLayerDefault(NetworkLayer layer)
Sets the default network layer.
|
void |
NetPlan.setRoutingFromDemandLinkCarriedTraffic(DoubleMatrix2D x_de,
boolean xdeValueAsFractionsRespectToDemandOfferedTraffic,
boolean removeCycles,
Set<Demand> demandsToSetRouting,
NetworkLayer... optionalLayerParameter)
Adds traffic routes (or forwarding rules, depending on the routing type) from demand-link routing at the given layer.
|
void |
NetPlan.setRoutingFromDestinationLinkCarriedTraffic(DoubleMatrix2D x_te,
boolean removeCycles,
NetworkLayer... optionalLayerParameter)
Adds traffic routes (or forwarding rules, depending on the routing type) from destination-link routing at the given layer.
|
void |
NetPlan.setRoutingTypeAllDemands(Constants.RoutingType newRoutingType,
NetworkLayer... optionalLayerParameter)
Sets the routing type at the given layer.
|
void |
NetPlan.setTrafficMatrix(DoubleMatrix2D trafficMatrix,
Constants.RoutingType routingTypeDemands,
NetworkLayer... optionalLayerParameter)
Sets the traffic demands at the given layer from a given traffic matrix, removing any previous
demand.
|
void |
Node.setUrlNodeIcon(NetworkLayer layer,
URL url,
Double relativeSize)
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.
|
void |
NetPlan.setVectorDemandOfferedTraffic(DoubleMatrix1D offeredTrafficVector,
NetworkLayer... optionalLayerParameter)
Sets the vector of the offered traffic per demand, at the given layer.
|
void |
NetPlan.setVectorLinkCapacity(DoubleMatrix1D linkCapacities,
NetworkLayer... optionalLayerParameter)
Sets the vector of the link capacities, at the given layer.
|
void |
NetPlan.setVectorMulticastDemandOfferedTraffic(DoubleMatrix1D offeredTrafficVector,
NetworkLayer... optionalLayerParameter)
Sets the vector of the offered traffic per multicast demand, at the given layer.
|
void |
NetPlan.setVectorMulticastTreeCarriedTrafficAndOccupiedLinkCapacities(DoubleMatrix1D carriedTraffic,
DoubleMatrix1D occupiedLinkCapacity,
NetworkLayer... optionalLayerParameter)
Sets the vector of the multicast trees carried traffics and occupied link capacities, at the given layer.
|
void |
NetPlan.setVectorRouteCarriedTrafficAndOccupiedLinkCapacities(DoubleMatrix1D carriedTraffic,
DoubleMatrix1D occupiedLinkCapacity,
NetworkLayer... optionalLayerParameter)
Sets the vector of the route carried traffics and occupied link capacities, at the given layer.
|
Modifier and Type | Method and Description |
---|---|
String |
NetPlan.toString(Collection<NetworkLayer> layers)
Returns a
String representation of the network design only for the
given layers. |
Modifier and Type | Field and Description |
---|---|
NetworkLayer |
SimEvent.DemandAdd.layer |
NetworkLayer |
SimEvent.LinkAdd.layer |
Constructor and Description |
---|
DemandAdd(Node ingressNode,
Node egressNode,
NetworkLayer layer,
double offeredTraffic,
Constants.RoutingType routingType)
Default constructor.
|
LinkAdd(Node originNode,
Node destinationNode,
NetworkLayer layer,
double capacity,
double lengthInKm,
double propagationSpeedInKmPerSecond)
Default constructor.
|
Modifier and Type | Field and Description |
---|---|
NetworkLayer |
WDMUtils.LightpathAdd.layer
The id of the network WDM layer
|
Modifier and Type | Method and Description |
---|---|
static void |
WDMUtils.checkResourceAllocationClashing(NetPlan netPlan,
boolean countFailedLightpaths,
boolean checkRegeneratorsAsWavelengthConverters,
NetworkLayer... optionalLayerParameter)
Checks resource clashing: no frequency slot in the same fiber can be occupied by more than one lightpath, nor
any slot of an index higher than the fiber capacity can be occupied.
|
static Quadruple<DoubleMatrix2D,DoubleMatrix2D,DoubleMatrix1D,DoubleMatrix1D> |
IPUtils.computeCarriedTrafficFromIGPWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightVector,
NetworkLayer... optionalLayer)
Computes the resulting carried traffic according to a link weight setting
and OSPF/ECMP routing.
|
static void |
SRGUtils.configureSRGs(NetPlan netPlan,
double defaultMTTF,
double defaultMTTR,
SRGUtils.SharedRiskModel sharedRiskModel,
boolean removeExistingSRGs,
NetworkLayer... optionalLayerParameter)
Configures the SRGs into the network design at the given layer.
|
static SortedSet<Date> |
TrafficMatrixForecastUtils.getDatesWhereGravityModelCanBeApplied(NetworkLayer layer) |
static SortedSet<Date> |
TrafficMatrixForecastUtils.getDatesWithAtLeastOneLinkMonitorInfo(NetworkLayer layer) |
static SortedSet<Date> |
TrafficMatrixForecastUtils.getDatesWithAtLeastOneMulticastDemandMonitorInfo(NetworkLayer layer) |
static SortedSet<Date> |
TrafficMatrixForecastUtils.getDatesWithAtLeastOneUnicastDemandMonitorInfo(NetworkLayer layer) |
static SortedMap<Demand,Double> |
TrafficMatrixForecastUtils.getGravityModelEstimationFromCurrentCarriedTraffic(NetworkLayer layer) |
static SortedMap<Demand,Double> |
TrafficMatrixForecastUtils.getGravityModelEstimationFromMonitorTraffic(NetworkLayer layer,
Date date) |
static List<SortedSet<Link>> |
GraphUtils.getKMinimumCostMulticastTrees(NetworkLayer layer,
Node originNode,
SortedSet<Node> destinationNodes,
DoubleMatrix2D Aout_ne,
DoubleMatrix2D Ain_ne,
DoubleMatrix1D linkCost,
String solverName,
String solverLibraryName,
double maxSolverTimeInSecondsPerTree,
int K,
int maxCopyCapability,
double maxE2ELengthInKm,
int maxE2ENumHops,
double maxE2EPropDelayInMs,
double maxTreeCost,
double maxTreeCostFactorRespectToMinimumCostTree,
double maxTreeCostRespectToMinimumCostTree)
Returns the K-minimum cost multicast trees starting in the originNode and ending in the set destinationNodes, satisfying some user-defined constraints.
|
static DoubleMatrix1D |
IPUtils.getLinkWeightVector(NetPlan netPlan,
NetworkLayer... optionalLayer)
Obtains the vector of ink weights from a given a network design.
|
static SortedSet<Link> |
GraphUtils.getMinimumCostMulticastTree(NetworkLayer layer,
DoubleMatrix2D Aout_ne,
DoubleMatrix2D Ain_ne,
DoubleMatrix1D linkCost,
Node originNode,
Set<Node> destinationNodes,
int maxCopyCapability,
int maxE2ENumHops,
double maxE2ELengthInKm,
double maxE2EPropDelayInMs,
String solverName,
String solverLibraryName,
double maxSolverTimeInSeconds,
String... solverParam) |
static Pair<DoubleMatrix2D,DoubleMatrix1D> |
WDMUtils.getNetworkSlotAndRegeneratorOcupancy(NetPlan netPlan,
boolean countFailedLightpaths,
NetworkLayer... optionalLayerParameter)
Returns the fiber occupied (columns) in each wavelength (rows), and an array with the number of occupied regenerators in each node.
|
static Pair<Map<Pair<Link,Integer>,List<Route>>,Map<Node,List<Route>>> |
WDMUtils.getNetworkSlotOccupancyMap(NetPlan netPlan,
boolean countFailedLightpaths,
NetworkLayer... optionalLayerParameter)
Returns two maps, showing the frequency slots in the links and signal regenerator in the nodes occupancies.
|
static Pair<Double,Double> |
SRGUtils.getSRGDisjointnessPercentage(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the percentage of SRG disjointness of traffic routes and their backup paths defined.
|
static String |
SRGUtils.getSRGModel(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Indicates whether SRG definition follows one of the predefined models (per
node, per link...), or 'Mixed' otherwise (or 'None' if no SRGs are defined).
|
static TrafficMatrixForecastUtils.TmEstimationResults |
TrafficMatrixForecastUtils.getTmEstimation_minErrorSquares(NetworkLayer layer,
Map<Link,Double> inputMonitInfo_someLinks,
Map<Demand,Double> inputMonitInfo_someDemands,
Map<MulticastDemand,Double> inputMonitInfo_someMDemands,
double coeff_preferFitRouting0PreferFitDemand1) |
static double |
TrafficComputationEngine.getTrafficProtectionDegree(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the fraction of the total carried traffic in the given layer that has at least one backup path defined.
|
static DoubleMatrix1D |
WDMUtils.getVectorFiberNumFrequencySlots(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the total number of frequency slots in each fiber.
|
static boolean |
TrafficMatrixForecastUtils.isGravityModelApplicableWithLinkMonitoringInfo(NetworkLayer layer,
Date date) |
static boolean |
SRGUtils.isSingleSRGFailureTolerant(NetPlan np,
NetworkLayer failureTolerantLayer)
Returns true if the given design is tolerant to single SRG failures at the given layer: that is, no traffic of any
unicast not multicast demand is blocked when such SRG fails
|
static boolean |
WDMUtils.isWDMFormatCorrect(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Performs some checks in a WDM network.
|
static DoubleMatrix1D |
TrafficMatrixGenerationModels.normalizeTraffic_linkCapacity_xde(NetPlan netPlan,
String solverName,
String solverLibraryName,
NetworkLayer... optionalLayerParameter)
Returns the maximum scaled version of the offered traffic vector that
can be carried by the network, provided that no link is oversubscribed.
|
static DoubleMatrix1D |
TrafficMatrixGenerationModels.normalizeTraffic_networkCapacity(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the maximum scaled version of the offered traffic vector so
that the network capacity (summation of capacity of all links) is exhausted.
|
static void |
IPUtils.setECMPForwardingRulesFromLinkWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightMap,
NetworkLayer... optionalLayer)
Sets the OSPF/ECMP forwarding rules in the given design, according to the
given IGP weight setting.
|
static void |
WDMUtils.setFibersNumFrequencySlots(NetPlan netPlan,
int numFrequencySlots,
NetworkLayer... optionalLayerParameter)
Sets the number of frequency slots available in each fiber to the same value.
|
static void |
IPUtils.setLinkWeights(NetPlan netPlan,
DoubleMatrix1D linkWeightVector,
NetworkLayer... optionalLayer)
Sets the weight associated to each link.
|
static void |
IPUtils.setLinkWeights(NetPlan netPlan,
double linkWeight,
NetworkLayer... optionalLayer)
Sets the weight associated to every link.
|
Constructor and Description |
---|
LightpathAdd(NetworkLayer layer,
WDMUtils.RSA rsa,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(NetworkLayer layer,
WDMUtils.RSA primaryRSA,
WDMUtils.RSA backupRSA,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(Node ingressNode,
Node egressNode,
NetworkLayer layer,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
Modifier and Type | Method and Description |
---|---|
NetworkLayer |
WLayerIp.getNe() |
NetworkLayer |
WLayerWdm.getNe() |
Copyright © 2018. All rights reserved.