Package | Description |
---|---|
com.net2plan.interfaces.timeVaryingTrafficSimulation |
Provides a set of classes and interfaces for the time-varying traffic simulator tool.
|
Modifier and Type | Method and Description |
---|---|
static TrafficAllocationAction |
TrafficAllocationAction.addLink(int originNodeId,
int destinationNodeId,
double linkCapacityInErlangs,
double linkLengthInKm,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Add link' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.addLinkToSRG(long linkId,
long srgId)
'Add link to SRG' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.addNodeToSRG(int nodeId,
long srgId)
'Add node to SRG' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.addProtectionSegment(long[] seqLinks,
double reservedBandwidthInErlangs,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Add protection segment' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.addProtectionSegmentTosRouteBackupSegmentList(long segmentId,
long routeId)
'Add protection segment to route backup list' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.addRoute(int demandId,
double trafficVolumeInErlangs,
long[] seqLinks,
long[] backupSegmentList,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Add route' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.addSRG(int[] nodeIds,
long[] linkIds,
double mttf,
double mttr,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Add SRG' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.modifyLink(long linkId,
double linkCapacityInErlangs,
double linkLengthInKm,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Modify link' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.modifyProtectionSegment(long segmentId,
double reservedBandwidthInErlangs,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Modify protection segment' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.modifyRoute(long routeId,
double trafficVolumeInErlangs,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Modify route' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.modifySRG(long srgId,
double mttf,
double mttr,
java.util.Map<java.lang.String,java.lang.String> attributes)
'Modify SRG' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeAllLinks()
'Remove all links' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeAllProtectionSegments()
'Remove all protection segments' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeAllProtectionSegmentsFromRouteBackupList(long routeId)
'Remove all protection segments from route backup list' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeAllRoutes()
'Remove all routes' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeAllSRGs()
'Remove all SRGs' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeLink(long linkId)
'Remove link' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeLinkFromSRG(long linkId,
long srgId)
'Remove link from SRG' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeNodeFromSRG(int nodeId,
long srgId)
'Remove node from SRG' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeProtectionSegment(long segmentId)
'Remove protection segment' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeProtectionSegmentFromRouteBackupSegmentList(long segmentId,
long routeId)
'Remove protection segment from route backup list' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeRoute(long routeId)
'Remove route' action.
|
static TrafficAllocationAction |
TrafficAllocationAction.removeSRG(long srgId)
'Remove SRG' action.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TrafficAllocationAction> |
ITrafficAllocationAlgorithm.processEvent(NetPlan netPlan,
TimeVaryingNetState netState,
double[] h_d,
java.util.Calendar currentDate)
Processes a new event.
|