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.utils |
General utility static methods.
|
Modifier and Type | Method and Description |
---|---|
Constants.RoutingType |
Demand.getRoutingType()
Returns the routing type of the demand.
|
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. |
void |
Demand.checkRoutingType(Constants.RoutingType routingType)
Checks whether routing type is the expected one.
|
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. |
void |
Demand.setRoutingType(Constants.RoutingType newRoutingType)
Sets the routing type 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.
|
Modifier and Type | Field and Description |
---|---|
Constants.RoutingType |
SimEvent.DemandAdd.routingType |
Constructor and Description |
---|
DemandAdd(Node ingressNode,
Node egressNode,
NetworkLayer layer,
double offeredTraffic,
Constants.RoutingType routingType)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static Constants.RoutingType |
Constants.RoutingType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RoutingType[] |
Constants.RoutingType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018. All rights reserved.