Package | Description |
---|---|
com.net2plan.interfaces.networkDesign |
Provides a set of classes and interfaces for the network design tool.
|
com.net2plan.libraries |
Provides a set of useful libraries to develop algorithms and reports.
|
com.net2plan.utils |
General utility static methods.
|
Modifier and Type | Method and Description |
---|---|
Constants.RoutingCycleType |
NetPlan.getDemandRoutingCycleType(long demandId)
Returns the routing cycle type for a given demand.
|
Constants.RoutingCycleType |
NetPlan.getDemandRoutingCycleType(long layerId,
long demandId)
Returns the routing cycle type for a given demand.
|
Constants.RoutingCycleType |
NetPlan.getRouteCycleType(long routeId)
Returns the cycle type of a route (i.e., loopless, or with loops).
|
Constants.RoutingCycleType |
NetPlan.getRouteCycleType(long layerId,
long routeId)
Returns the cycle type of a route (i.e., loopless, or with loops).
|
Modifier and Type | Method and Description |
---|---|
static Quadruple<Map<Pair<Long,Long>,Double>,Double,Map<Long,Double>,Constants.RoutingCycleType> |
GraphUtils.convert_fde2xde(long demandId,
Set<Long> nodeIds,
Map<Long,Pair<Long,Long>> linkMap,
Map<Long,Pair<Long,Long>> demandMap,
Map<Long,Double> h_d,
Map<Pair<Long,Long>,Double> f_de)
Given a forwarding rule mapping (fractions of traffic entering a node from
demand 'd', leaving that node through link 'e'), and an offered
traffic to the network, it generates the resulting demand-link routing in
the form x_de (amount of traffic from demand d, transmitted through link e),
only for a given demand.
|
static Quadruple<Map<Pair<Long,Long>,Double>,Map<Long,Double>,Map<Long,Double>,List<Constants.RoutingCycleType>> |
GraphUtils.convert_fde2xde(Set<Long> nodeIds,
Map<Long,Pair<Long,Long>> linkMap,
Map<Long,Pair<Long,Long>> demandMap,
Map<Long,Double> h_d,
Map<Pair<Long,Long>,Double> f_de)
Given a forwarding rule mapping (fractions of traffic entering a node from
demand 'd', leaving that node through link 'e'), and an offered
traffic to the network, it generates the resulting demand-link routing in
the form x_de (amount of traffic from demand d, transmitted through link e).
|
static Quadruple<Map<Pair<Long,Long>,Double>,Map<Long,Double>,Map<Long,Double>,List<Constants.RoutingCycleType>> |
GraphUtils.convert_fte2xde(Set<Long> nodeIds,
Map<Long,Pair<Long,Long>> linkMap,
Map<Long,Pair<Long,Long>> demandMap,
Map<Long,Double> h_d,
Map<Pair<Long,Long>,Double> f_te)
Given a destination-based routing in the form f_te (fractions of traffic in
a node, that is forwarded through each of its output links), and an offered
traffic to the network, it generates the resulting demand-link routing in
the form x_de (amount of traffic from demand d, transmitted through link e).
|
static Quadruple<Map<Pair<Long,Long>,Double>,Map<Long,Double>,Map<Long,Double>,List<Constants.RoutingCycleType>> |
GraphUtils.convert_fte2xte(Set<Long> nodeIds,
Map<Long,Pair<Long,Long>> linkMap,
Map<Pair<Long,Long>,Double> f_te,
cern.colt.matrix.tdouble.DoubleMatrix2D trafficMatrix)
Given a destination-based routing in the form f_te (fractions of traffic in a node, that is forwarded through each of its output links), and
an offered traffic to the network, it generates the resulting destination-based
routing in the form x_te (amount of traffic targeted to node t, transmitted through link e).
|
Modifier and Type | Method and Description |
---|---|
static Constants.RoutingCycleType |
Constants.RoutingCycleType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RoutingCycleType[] |
Constants.RoutingCycleType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|