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.
|
Modifier and Type | Method and Description |
---|---|
List<SimAction> |
NetPlan.getActionsPerformed()
Returns the list of monitored actions since
activateActionMonitoring() was called. |
Modifier and Type | Method and Description |
---|---|
static SimAction |
SimAction.Factory.demandAdded(long demandId)
Creates a
DEMAND_ADDED action. |
static SimAction |
SimAction.Factory.demandAdded(long layerId,
long demandId)
Creates a
DEMAND_ADDED action. |
static SimAction |
SimAction.Factory.demandModified(long demandId)
Creates a
DEMAND_MODIFIED action. |
static SimAction |
SimAction.Factory.demandModified(long layerId,
long demandId)
Creates a
DEMAND_MODIFIED action. |
static SimAction |
SimAction.Factory.demandRemoved(long demandId,
long ingressNodeId,
long egressNodeId,
double offeredTraffic,
Map<String,String> attributes)
Creates a
DEMAND_REMOVED action. |
static SimAction |
SimAction.Factory.demandRemoved(long layerId,
long demandId,
long ingressNodeId,
long egressNodeId,
double offeredTraffic,
Map<String,String> attributes)
Creates a
DEMAND_REMOVED action. |
static SimAction |
SimAction.Factory.forwardingRuleAdded(long layerId,
Pair<Long,Long> demandLinkPair)
Creates a
FORWARDING_RULE_ADDED action. |
static SimAction |
SimAction.Factory.forwardingRuleAdded(Pair<Long,Long> demandLinkPair)
Creates a
FORWARDING_RULE_ADDED action. |
static SimAction |
SimAction.Factory.forwardingRuleModified(long layerId,
Pair<Long,Long> demandLinkPair)
Creates a
FORWARDING_RULE_MODIFIED action. |
static SimAction |
SimAction.Factory.forwardingRuleModified(Pair<Long,Long> demandLinkPair)
Creates a
FORWARDING_RULE_MODIFIED action. |
static SimAction |
SimAction.Factory.forwardingRuleRemoved(long layerId,
Pair<Long,Long> demandLinkPair,
double splittingRatio,
Map<String,String> attributes)
Creates a
FORWARDING_RULE_REMOVED action. |
static SimAction |
SimAction.Factory.forwardingRuleRemoved(Pair<Long,Long> demandLinkPair,
double splittingRatio,
Map<String,String> attributes)
Creates a
FORWARDING_RULE_REMOVED action. |
static SimAction |
SimAction.Factory.layerAdded(long layerId)
Creates a
LAYER_ADDED action. |
static SimAction |
SimAction.Factory.layerModified(long layerId)
Creates a
LAYER_MODIFIED action. |
static SimAction |
SimAction.Factory.layerRemoved(long layerId,
String name,
String description,
String linkCapacityUnitsName,
String demandTrafficUnitsName,
Map<String,String> attributes)
Creates a
LAYER_REMOVED action. |
static SimAction |
SimAction.Factory.linkAdded(long linkId)
Creates a
LINK_ADDED action. |
static SimAction |
SimAction.Factory.linkAdded(long layerId,
long linkId)
Creates a
LINK_ADDED action. |
static SimAction |
SimAction.Factory.linkDown(long linkId)
Creates a
LINK_DOWN action. |
static SimAction |
SimAction.Factory.linkDown(long layerId,
long linkId)
Creates a
LINK_DOWN action. |
static SimAction |
SimAction.Factory.linkModified(long linkId)
Creates a
LINK_MODIFIED action. |
static SimAction |
SimAction.Factory.linkModified(long layerId,
long linkId)
Creates a
LINK_MODIFIED action. |
static SimAction |
SimAction.Factory.linkRemoved(long linkId,
long originNodeId,
long destinationNodeId,
double capacity,
double lengthInKm,
double propagationSpeedInKmPerSecond,
Map<String,String> attributes)
Creates a
LINK_REMOVED action. |
static SimAction |
SimAction.Factory.linkRemoved(long layerId,
long linkId,
long originNodeId,
long destinationNodeId,
double capacity,
double lengthInKm,
double propagationSpeedInKmPerSecond,
Map<String,String> attributes)
Creates a
LINK_REMOVED action. |
static SimAction |
SimAction.Factory.linkUp(long linkId)
Creates a
LINK_UP action. |
static SimAction |
SimAction.Factory.linkUp(long layerId,
long linkId)
Creates a
LINK_UP action. |
static SimAction |
SimAction.Factory.nodeAdded(long nodeId)
Creates a
NODE_ADDED action. |
static SimAction |
SimAction.Factory.nodeDown(long nodeId)
Creates a
NODE_DOWN action. |
static SimAction |
SimAction.Factory.nodeModified(long nodeId)
Creates a
NODE_MODIFIED action. |
static SimAction |
SimAction.Factory.nodeRemoved(long nodeId,
Point2D xyPosition,
String name,
Map<String,String> attributes)
Creates a
NODE_REMOVED action. |
static SimAction |
SimAction.Factory.nodeUp(long nodeId)
Creates a
NODE_UP action. |
static SimAction |
SimAction.Factory.protectionSegmentAdded(long segmentId)
Creates a
PROTECTION_SEGMENT_ADDED action. |
static SimAction |
SimAction.Factory.protectionSegmentAdded(long layerId,
long segmentId)
Creates a
PROTECTION_SEGMENT_ADDED action. |
static SimAction |
SimAction.Factory.protectionSegmentModified(long segmentId)
Creates a
PROTECTION_SEGMENT_MODIFIED action. |
static SimAction |
SimAction.Factory.protectionSegmentModified(long layerId,
long segmentId)
Creates a
PROTECTION_SEGMENT_MODIFIED action. |
static SimAction |
SimAction.Factory.protectionSegmentRemoved(long segmentId,
double reservedCapacity,
List<Long> seqLinks,
Map<String,String> attributes)
Creates a
PROTECTION_SEGMENT_REMOVED action. |
static SimAction |
SimAction.Factory.protectionSegmentRemoved(long layerId,
long segmentId,
double reservedCapacity,
List<Long> seqLinks,
Map<String,String> attributes)
Creates a
PROTECTION_SEGMENT_REMOVED action. |
static SimAction |
SimAction.Factory.routeAdded(long routeId)
Creates a
ROUTE_ADDED action. |
static SimAction |
SimAction.Factory.routeAdded(long layerId,
long routeId)
Creates a
ROUTE_ADDED action. |
static SimAction |
SimAction.Factory.routeModified(long routeId)
Creates a
ROUTE_MODIFIED action. |
static SimAction |
SimAction.Factory.routeModified(long layerId,
long routeId)
Creates a
ROUTE_MODIFIED action. |
static SimAction |
SimAction.Factory.routeRemoved(long routeId,
long demandId,
long ingressNodeId,
long egressNodeId,
double carriedTraffic,
double occupiedCapacity,
List<Long> seqLinks,
List<Long> backupSegmentList,
Map<String,String> attributes)
Creates a
ROUTE_REMOVED action. |
static SimAction |
SimAction.Factory.routeRemoved(long layerId,
long routeId,
long demandId,
long ingressNodeId,
long egressNodeId,
double carriedTraffic,
double occupiedCapacity,
List<Long> seqLinks,
List<Long> backupSegmentList,
Map<String,String> attributes)
Creates a
ROUTE_REMOVED action. |
static SimAction |
SimAction.Factory.srgAdded(long srgId)
Creates a
SRG_ADDED action. |
static SimAction |
SimAction.Factory.srgModified(long srgId)
Creates a
SRG_MODIFIED action. |
static SimAction |
SimAction.Factory.srgRemoved(long srgId,
double mttfInHours,
double mttrInHours,
Map<String,String> attributes)
Creates a
SRG_REMOVED action. |
Modifier and Type | Method and Description |
---|---|
List<SimAction> |
SimEvent.getEventActionList()
Returns the list of action notifications.
|
Constructor and Description |
---|
SimEvent(double eventTime,
SimAction action,
SimEvent.DestinationModule destinationModule)
Constructor that allows to generate an event with an action notification.
|
Constructor and Description |
---|
SimEvent(double eventTime,
List<SimAction> actions,
Object object,
SimEvent.DestinationModule destinationModule)
Constructor that allows to generate an event with a custom object and a list of action notifications.
|
SimEvent(double eventTime,
List<SimAction> actions,
SimEvent.DestinationModule destinationModule)
Constructor that allows to generate an event with a list of action notifications.
|