ArrivalBound
public class PmooArrivalBound extends AbstractArrivalBound implements ArrivalBound
Modifier and Type | Field | Description |
---|---|---|
private static PmooArrivalBound |
instance |
configuration, network
Modifier | Constructor | Description |
---|---|---|
private |
PmooArrivalBound() |
|
|
PmooArrivalBound(Network network,
AnalysisConfig configuration) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<ArrivalCurve> |
computeArrivalBound(Link link,
Flow flow_of_interest) |
|
java.util.Set<ArrivalCurve> |
computeArrivalBound(Link link,
java.util.Set<Flow> f_xfcaller,
Flow flow_of_interest) |
Computes the PMOO arrival bound for a set of
flows_to_bound . |
static PmooArrivalBound |
getInstance() |
getConfiguration, getNetwork, setConfiguration, setNetwork
getConfiguration, getNetwork, setConfiguration, setNetwork
private static PmooArrivalBound instance
private PmooArrivalBound()
public PmooArrivalBound(Network network, AnalysisConfig configuration)
public static PmooArrivalBound getInstance()
public java.util.Set<ArrivalCurve> computeArrivalBound(Link link, Flow flow_of_interest) throws java.lang.Exception
computeArrivalBound
in interface ArrivalBound
java.lang.Exception
public java.util.Set<ArrivalCurve> computeArrivalBound(Link link, java.util.Set<Flow> f_xfcaller, Flow flow_of_interest) throws java.lang.Exception
flows_to_bound
. The
difference to the standard output bound method is that this method tries to
compute tighter bounds by concatenating as many servers as possible using the
PMOO approach. It does so by searching from server
towards the
sinks of the flows contained in f_xfcaller
until it reaches the
server where all these flows first meet each other (the "splitting point").
It then concatenates all servers between the splitting point (inclusive) and
server
(exclusive).link
- The link that all flows of interest flow into.f_xfcaller
- The set of flows of interest.flow_of_interest
- The flow of interest to handle with lowest priority.java.lang.Exception
- If any of the sanity checks fails.