public abstract class ArrivalBoundDispatch
extends java.lang.Object
Constructor | Description |
---|---|
ArrivalBoundDispatch() |
Modifier and Type | Method | Description |
---|---|---|
private static void |
addArrivalBounds(AnalysisConfig configuration,
ArrivalCurve arrival_bound_to_merge,
java.util.Set<ArrivalCurve> arrival_bounds) |
|
private static void |
addArrivalBounds(AnalysisConfig configuration,
java.util.Set<ArrivalCurve> arrival_bounds_to_merge,
java.util.Set<ArrivalCurve> arrival_bounds) |
|
static java.util.Set<ArrivalCurve> |
computeArrivalBounds(Network network,
AnalysisConfig configuration,
Link link,
java.util.Set<Flow> flows_to_bound,
Flow flow_of_interest) |
|
static java.util.Set<ArrivalCurve> |
computeArrivalBounds(Network network,
AnalysisConfig configuration,
Server server) |
|
static java.util.Set<ArrivalCurve> |
computeArrivalBounds(Network network,
AnalysisConfig configuration,
Server server,
java.util.Set<Flow> flows_to_bound,
Flow flow_of_interest) |
The flow_of_interest low priority supersedes the wish to bound all flows in
flows_to_bound, i.e., if flow_of_interest will be removed from flows_to_bound
before bounding the arrivals such that the result will always hold (only) for
{flows_to_bound} \ {flow_of_interest}.
|
private static java.util.Set<ArrivalCurve> |
getPermutations(java.util.Set<ArrivalCurve> arrival_curves_1,
java.util.Set<ArrivalCurve> arrival_curves_2) |
|
private static boolean |
isDuplicate(ArrivalCurve arrival_bound_to_check,
java.util.Set<ArrivalCurve> arrival_bounds) |
|
private static java.util.Set<ArrivalCurve> |
singleFlowABs(AnalysisConfig configuration,
ArrivalCurve alpha,
java.util.Set<ServiceCurve> betas_lo) |
public static java.util.Set<ArrivalCurve> computeArrivalBounds(Network network, AnalysisConfig configuration, Server server) throws java.lang.Exception
java.lang.Exception
public static java.util.Set<ArrivalCurve> computeArrivalBounds(Network network, AnalysisConfig configuration, Server server, java.util.Set<Flow> flows_to_bound, Flow flow_of_interest) throws java.lang.Exception
To bound all flows in flows_to_bound, please call, e.g., computeArrivalBounds( network, flows_to_bound, Flow.NULL_FLOW )
server
- The server seeing the arrival bound.flows_to_bound
- The flows to be bounded.flow_of_interest
- The flow of interest to get a lower priority.java.lang.Exception
- Potential exception raised in the called function
computeArrivalBounds.public static java.util.Set<ArrivalCurve> computeArrivalBounds(Network network, AnalysisConfig configuration, Link link, java.util.Set<Flow> flows_to_bound, Flow flow_of_interest) throws java.lang.Exception
java.lang.Exception
private static java.util.Set<ArrivalCurve> singleFlowABs(AnalysisConfig configuration, ArrivalCurve alpha, java.util.Set<ServiceCurve> betas_lo) throws java.lang.Exception
java.lang.Exception
private static java.util.Set<ArrivalCurve> getPermutations(java.util.Set<ArrivalCurve> arrival_curves_1, java.util.Set<ArrivalCurve> arrival_curves_2)
private static void addArrivalBounds(AnalysisConfig configuration, java.util.Set<ArrivalCurve> arrival_bounds_to_merge, java.util.Set<ArrivalCurve> arrival_bounds)
private static void addArrivalBounds(AnalysisConfig configuration, ArrivalCurve arrival_bound_to_merge, java.util.Set<ArrivalCurve> arrival_bounds)
private static boolean isDuplicate(ArrivalCurve arrival_bound_to_check, java.util.Set<ArrivalCurve> arrival_bounds)