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.
|
Modifier and Type | Method and Description |
---|---|
NetworkLayer |
NetPlan.addLayer(String name,
String description,
String linkCapacityUnitsName,
String demandTrafficUnitsName,
Map<String,String> attributes)
Adds a new layer.
|
NetworkLayer |
NetPlan.addLayerFrom(NetworkLayer origin)
Creates a new layer and adds the links, routes etc. from the input layer.
|
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 |
Route.getLayer()
Returns the route layer
|
NetworkLayer |
MulticastTree.getLayer()
Returns the
NetworkLayer object this element belongs to. |
NetworkLayer |
MulticastDemand.getLayer()
Returns the
NetworkLayer object this element belongs to |
NetworkLayer |
Link.getLayer()
Returns the
NetworkLayer the link belongs to. |
NetworkLayer |
Demand.getLayer()
Returns the
NetworkLayer object this element is attached 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 |
---|---|
Set<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).
|
Modifier and Type | Method and Description |
---|---|
Demand |
NetPlan.addDemand(Node ingressNode,
Node egressNode,
double offeredTraffic,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds a new traffic demand.
|
Pair<Demand,Demand> |
NetPlan.addDemandBidirectional(Node ingressNode,
Node egressNode,
double offeredTraffic,
Map<String,String> attributes,
NetworkLayer... optionalLayerParameter)
Adds two demands, one in each direction,.
|
List<Demand> |
NetPlan.addDemandsFromTrafficMatrix(DoubleMatrix2D trafficMatrix,
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. from the input layer.
|
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.addRoutesFromCandidatePathList(NetworkLayer layer,
double[] costs,
String... paramValuePairs)
Same as
addRoutesFromCandidatePathList(computeUnicastCandidatePathList(layer , costs , paramValuePairs); |
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.
|
Map<MulticastDemand,List<Set<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.
|
Map<Demand,List<List<Link>>> |
NetPlan.computeUnicastCandidatePathList(NetworkLayer layer,
double[] costs,
String... paramValuePairs)
Adds traffic routes specified by those paths that satisfy the candidate path list options described below.
|
Demand |
ProtectionSegment.coupleToNewDemandCreated(NetworkLayer newLinkLayer)
This method cannot be called for protection segments (raises an exception)
|
Demand |
Link.coupleToNewDemandCreated(NetworkLayer newDemandLayer)
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.
|
Set<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.
|
Set<Link> |
SharedRiskGroup.getAffectedLinks(NetworkLayer layer)
Returns all the links affected by this SRG, but only those at a particular layer.
|
Set<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)
|
Set<ProtectionSegment> |
SharedRiskGroup.getAffectedProtectionSegments(NetworkLayer layer)
Returns the set of protection segments in the given layer affected by the SRG (fail, when the SRG is in failure state)
|
Set<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)
|
Set<MulticastTree> |
Node.getAssociatedMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees that start, end or traverse this node, in the given layer.
|
Set<ProtectionSegment> |
Node.getAssociatedProtectionSegments(NetworkLayer... optionalLayerParameter)
Returns the set of protection segments that start, end or traverse this node, in the given layer.
|
Set<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.
|
Set<Demand> |
NetPlan.getDemandsCoupled(NetworkLayer... optionalLayerParameter)
Returns the set of unicast demands that are coupled.
|
double |
NetPlan.getDemandTotalBlockedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total blocked traffic, summing up all the unicast demands, in the given layer.
|
double |
NetPlan.getDemandTotalCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total carried traffic, summing up for all the unicast demands, in the given layer.
|
double |
NetPlan.getDemandTotalOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total offered traffic, summing up for all the unicast demands, in the given layer.
|
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.
|
Map<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.
|
Map<Pair<Demand,Link>,Double> |
NetPlan.getForwardingRules(NetworkLayer... optionalLayerParameter)
Returns the forwarding rules for the given layer.
|
double |
NetPlan.getForwardingRuleSplittingFactor(Demand demand,
Link link,
NetworkLayer... optionalLayerParameter)
Returns the splitting factor of the forwarding rule of the given demand and link.
|
Set<Demand> |
Node.getIncomingDemands(NetworkLayer... optionalLayerParameter)
Returns the set of demands ending in the node, in the given layer.
|
Set<Link> |
Node.getIncomingLinks(NetworkLayer... optionalLayerParameter)
Returns the set of links ending in the node, in the given layer.
|
Set<MulticastDemand> |
Node.getIncomingMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of multicast demands ending in the node, in the given layer.
|
Set<MulticastTree> |
Node.getIncomingMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees ending in the node, in the given layer.
|
Set<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.
|
Set<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.
|
Set<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.
|
Set<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 (including the capacities in the protection segments)
is highest.
|
Set<Link> |
NetPlan.getLinksCoupledToMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of links that are coupled to a multicast demand in the given layer.
|
Set<Link> |
NetPlan.getLinksCoupledToUnicastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of links that are couple to a unicast demand in the given layer.
|
Set<Link> |
NetPlan.getLinksDown(NetworkLayer... optionalLayerParameter)
Returns the set of links that are down in the given layer.
|
Set<Link> |
NetPlan.getLinksOversubscribed(NetworkLayer... optionalLayerParameter)
Returns the set of links oversuscribed: the total occupied capacity (including the traffic in the protection segments) exceeds the link capacity
(including the reserved capacity by the protection segments).
|
Set<Link> |
NetPlan.getLinksUp(NetworkLayer... optionalLayerParameter)
Returns the set of links that are up in the given layer.
|
Set<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(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.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.getMatrixLink2ProtectionSegmentAssignment(NetworkLayer... optionalLayerParameter)
Returns the link-protection segment assignment matrix (an ExR matrix in
which an element δep is equal to the number of
times which protection segment r traverses 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.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.getMatrixProtectionSegment2SRGAffecting(NetworkLayer... optionalLayerParameter)
Returns the protection segment-srg incidence matrix (an PxS matrix in which an element δps equals 1 if protection segment p
fails when SRG s is affected.
|
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.
|
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.
|
Set<MulticastDemand> |
NetPlan.getMulticastDemandsCoupled(NetworkLayer... optionalLayerParameter)
Returns the set of multicas demands that are coupled.
|
double |
NetPlan.getMulticastDemandTotalBlockedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total blocked traffic, summing up for all the multicast demands, in the given layer.
|
double |
NetPlan.getMulticastDemandTotalCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total carried traffic, summing up for all the multicast demands, in the given layer.
|
double |
NetPlan.getMulticastDemandTotalOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns the total offered traffic, summing up for all the multicast demands, in the given layer.
|
MulticastTree |
NetPlan.getMulticastTree(int index,
NetworkLayer... optionalLayerParameter)
Returns the multicast tree with the given index in the given layer. if no layer is provided, default layer is assumed.
|
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).
|
Set<MulticastTree> |
NetPlan.getMulticastTreesDown(NetworkLayer... optionalLayerParameter)
Returns the set of multicast trees that are down (i.e. that traverse a link or node that has failed).
|
Set<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). |
Set<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). |
Set<ProtectionSegment> |
NetPlan.getNodePairProtectionSegments(Node originNode,
Node destinationNode,
boolean returnSegmentsInBothDirections,
NetworkLayer... optionalLayerParameter)
Return the set of protection segments at the given layer for the given nodes (if
returnSegmentsInBothDirections is true , also the reversed protection segments are included)
If no layer is provided, default layer is assumed. |
Set<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.getNumberOfProtectionSegments(NetworkLayer... optionalLayerParameter)
Returns the number of protection segments at the given layer.
|
int |
NetPlan.getNumberOfRoutes(NetworkLayer... optionalLayerParameter)
Returns the number of routes at the given layer.
|
Set<Demand> |
Node.getOutgoingDemands(NetworkLayer... optionalLayerParameter)
Returns the set of demands initiated in the node, in the given layer.
|
Set<Link> |
Node.getOutgoingLinks(NetworkLayer... optionalLayerParameter)
Returns the set of links initiated in the node, in the given layer.
|
Set<MulticastDemand> |
Node.getOutgoingMulticastDemands(NetworkLayer... optionalLayerParameter)
Returns the set of multicast demands initiated in the node, in the given layer.
|
Set<MulticastTree> |
Node.getOutgoingMulticastTrees(NetworkLayer... optionalLayerParameter)
Returns the set of multicast tree initiated in the node, in the given layer.
|
Set<Route> |
Node.getOutgoingRoutes(NetworkLayer... optionalLayerParameter)
Returns the set of routes initiated in the node, in the given layer.
|
Set<Node> |
Node.getOutNeighbors(NetworkLayer... optionalLayerParameter)
Returns the nodes directly connected to this, with links initiated in this node at the given layer.
|
ProtectionSegment |
NetPlan.getProtectionSegment(int index,
NetworkLayer... optionalLayerParameter)
Returns the protection segment with the given index in the given layer. if no layer is provided, default layer is assumed.
|
ArrayList<Long> |
NetPlan.getProtectionSegmentIds(NetworkLayer... optionalLayerParameter)
Returns the array of protection segment ids for the given layer (i-th position, corresponds to index i).
|
List<ProtectionSegment> |
NetPlan.getProtectionSegments(NetworkLayer... optionalLayerParameter)
Returns the array of protection segmets for the given layer (i-th position, corresponds to index i).
|
Set<ProtectionSegment> |
NetPlan.getProtectionSegmentsDown(NetworkLayer... optionalLayerParameter)
Returns the set of protection segments that are down (traverse a link or node that is failed).
|
Route |
NetPlan.getRoute(int index,
NetworkLayer... optionalLayerParameter)
Returns the route with the given index in the given layer. if no layer is provided, default layer is assumed
|
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).
|
Set<Route> |
NetPlan.getRoutesDown(NetworkLayer... optionalLayerParameter)
Returns the set of routes that are down (traverse a link or node that is failed).
|
Constants.RoutingType |
NetPlan.getRoutingType(NetworkLayer... optionalLayerParameter)
Returns the routing type of the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorDemandBlockedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the blocked traffic per demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorDemandCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorDemandOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic per demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
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. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the capacity per link, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkCapacityReservedForProtection(NetworkLayer... optionalLayerParameter)
Returns a vector with the capacity per link reserved for protection, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkLengthInKm(NetworkLayer... optionalLayerParameter)
Returns a vector with the length in km in the links, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkOversubscribedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the oversubscibed traffic (oversubscribed traffic being the sum of all carried traffic, including protection segments 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. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkPropagationSpeedInKmPerSecond(NetworkLayer... optionalLayerParameter)
Returns a vector with the propagation speed in km/s in the links, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkSpareCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the capacity per link, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkTotalCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the total carried traffic per link (counting the traffic in the traversed protection segments), at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkTotalOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the total occupied capacity in the links (counting the capacity occupied by the traffic in the traversed protection segments), 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. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorLinkUtilizationIncludingProtectionSegments(NetworkLayer... optionalLayerParameter)
Returns a vector with the utilization per link, at the given layer.
|
DoubleMatrix1D |
NetPlan.getVectorLinkUtilizationNotIncludingProtectionSegments(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. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per multicast demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastDemandOfferedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic per multicast demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
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. i-th vector corresponds to i-th index of the element..
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeAverageNumberOfHops(NetworkLayer... optionalLayerParameter)
Returns a vector with the avergage number of hops per multicast tree at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per multicast tree, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns a vector with the number of links per multicast tree, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the occupied capacity traffic per multicast tree, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorMulticastTreeOfferedTrafficOfAssociatedMulticastDemand(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic per multicast tree from its associated multicast demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorNodeEgressUnicastTraffic(NetworkLayer... optionalLayerParameter)
Returns the vector with the total incoming offered traffic per node at the given layer. i-th vector corresponds to i-th index of the element. if no layer is provided, default layer is assumed.
|
DoubleMatrix1D |
NetPlan.getVectorNodeIngressUnicastTraffic(NetworkLayer... optionalLayerParameter)
Returns the vector with the total outgoing offered traffic per node at the given layer. i-th vector corresponds to i-th index of the element. if no layer is provided, default layer is assumed.
|
DoubleMatrix1D |
NetPlan.getVectorProtectionSegmentCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per protection segment, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorProtectionSegmentLengthInKm(NetworkLayer... optionalLayerParameter)
Returns a vector with the length in km per protection segment, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorProtectionSegmentNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns a vector with the number of links per protection segment, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorProtectionSegmentOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the occupied capacity traffic per protection segment, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorRouteCarriedTraffic(NetworkLayer... optionalLayerParameter)
Returns a vector with the carried traffic per route, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorRouteLengthInKm(NetworkLayer... optionalLayerParameter)
Returns a vector with the length in km per route, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorRouteNumberOfLinks(NetworkLayer... optionalLayerParameter)
Returns a vector with the number of links per route (including the links in the traversed protection segments if any), at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorRouteOccupiedCapacity(NetworkLayer... optionalLayerParameter)
Returns a vector with the occupied capacity traffic per route, at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorRouteOfferedTrafficOfAssociatedDemand(NetworkLayer... optionalLayerParameter)
Returns a vector with the offered traffic (from its associated demand) per route at the given layer. i-th vector corresponds to i-th index of the element.
|
DoubleMatrix1D |
NetPlan.getVectorRoutePropagationDelayInMiliseconds(NetworkLayer... optionalLayerParameter)
Returns a vector with the propagation delay in seconds per route, at the given layer. i-th vector corresponds to i-th index of the element.
|
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.hasProtectionSegments(NetworkLayer... optionalLayerParameter)
Returns
true if the network has one or more protection segments 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 |
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 ). |
void |
NetPlan.removeAllDemands(NetworkLayer... optionalLayerParameter)
Removes all the demands defined 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.removeAllForwardingRules(NetworkLayer... optionalLayerParameter)
Removes all the forwarding rules in the given layer.
|
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 defined in the given layer.
|
void |
NetPlan.removeAllProtectionSegments(NetworkLayer... optionalLayerParameter)
Removes all the protection segments 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.
|
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, protection segment or forwarding rule.
|
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.setDescription(String description,
NetworkLayer... optionalLayerParameter)
Sets the layer description.
|
void |
NetPlan.setForwardingRules(DoubleMatrix2D f_de,
NetworkLayer... optionalLayerParameter)
Sets the forwarding rules for the given design.
|
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,
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.setRoutingType(Constants.RoutingType newRoutingType,
NetworkLayer... optionalLayerParameter)
Sets the routing type at the given layer.
|
void |
NetPlan.setTrafficMatrix(DoubleMatrix2D trafficMatrix,
NetworkLayer... optionalLayerParameter)
Sets the traffic demands at the given layer from a given traffic matrix, removing any previous
demand.
|
void |
NetPlan.setVectorDemandOfferedTraffic(DoubleMatrix1D offeredTrafficVector,
NetworkLayer... optionalLayerParameter)
Sets the vector of the offered traffic per demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
void |
NetPlan.setVectorLinkCapacity(DoubleMatrix1D linkCapacities,
NetworkLayer... optionalLayerParameter)
Sets the vector of the link capacities, at the given layer. i-th vector corresponds to i-th index of the element.
|
void |
NetPlan.setVectorMulticastDemandOfferedTraffic(DoubleMatrix1D offeredTrafficVector,
NetworkLayer... optionalLayerParameter)
Sets the vector of the offered traffic per multicast demand, at the given layer. i-th vector corresponds to i-th index of the element.
|
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. i-th vector corresponds to i-th index of the element.
|
void |
NetPlan.setVectorProtectionSegmentReservedCapacity(DoubleMatrix1D segmentCapacities,
NetworkLayer... optionalLayerParameter)
Sets the vector of the reserved capacity for protection segments, at the given layer. i-th vector corresponds to i-th index of the element.
|
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. i-th vector corresponds to i-th index of the element.
|
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)
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 |
Modifier and Type | Method and Description |
---|---|
static void |
WDMUtils.checkConsistency(NetPlan netPlan,
boolean countDownLightpathResources,
NetworkLayer... optionalLayerParameter)
Performs extra checks to those applicable to every network design, especially
focused on WDM networks.
|
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 DoubleMatrix1D |
IPUtils.getLinkWeightVector(NetPlan netPlan,
NetworkLayer... optionalLayer)
Obtains the vector of ink weights from a given a network design.
|
static DoubleMatrix2D |
WDMUtils.getMatrixWavelength2FiberOccupancy(NetPlan netPlan,
boolean countDownLightpathResources,
NetworkLayer... optionalLayerParameter)
Returns the fiber occupied (columns) in each wavelength (rows).
|
static Pair<Double,Double> |
SRGUtils.getSRGDisjointnessPercentage(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the percentage of SRG disjointness of traffic routes and
protection segments.
|
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 Triple<Double,Double,Double> |
TrafficComputationEngine.getTrafficProtectionDegree(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the statistics for protection degree carried traffic.
|
static DoubleMatrix1D |
WDMUtils.getVectorFiberNumWavelengths(NetPlan netPlan,
NetworkLayer... optionalLayerParameter)
Returns the total number of wavelengths in each fiber.
|
static DoubleMatrix1D |
WDMUtils.getVectorNodeRegeneratorOccupancy(NetPlan netPlan,
boolean countDownLightpathResources,
NetworkLayer... optionalLayerParameter)
Returns the number of regenerators installed per node.
|
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.setFibersNumWavelengths(NetPlan netPlan,
int[] w_f,
NetworkLayer... optionalLayerParameter)
Sets the number of wavelengths available in each fiber.
|
static void |
WDMUtils.setFibersNumWavelengths(NetPlan netPlan,
int numWavelengths,
NetworkLayer... optionalLayerParameter)
Sets the number of wavelengths 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(Node ingressNode,
Node egressNode,
NetworkLayer layer,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(Node ingressNode,
Node egressNode,
NetworkLayer layer,
List<Link> seqLinks,
int[] seqWavelengths,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |
LightpathAdd(Node ingressNode,
Node egressNode,
NetworkLayer layer,
List<Link> seqLinks_primary,
List<Link> seqLinks_backup,
int[] seqWavelengths_primary,
int[] seqWavelengths_backup,
double lineRateGbps)
Constructor to generate a new
LightpathAdd object. |