|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.ll.group43.surfaceoptimization.dp.factory.cost.CostStrategy
edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.SpotCostStrategy
edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.OneGapSpotCostStrategy
public class OneGapSpotCostStrategy
The spot cost strategy for the One Gap algorithm, which compares scheduling the current aircraft to take off between the last two projected takeoffs, if it can fit, against scheduling it to take off last.
Constructor Summary | |
---|---|
OneGapSpotCostStrategy(int cps,
MinimumSeparationCalculator<? extends WeightClass> calc)
|
Method Summary | |
---|---|
boolean |
canFitBefore(int earlyReleaseBound,
Aircraft lastReleased,
Aircraft lastTakeOff)
Determines if lastReleased can take off before lastTakeOff, given that it can leave the spot no earlier than earlyReleaseBound, without increasing the spot delay of lastTakeOff or incurring any delay at the runway. |
int |
earliestRelease(NetworkEdge edge)
Determines the earliest time at which the last aircraft of the target node of the given network edge can be released from the spot. |
int |
earliestReleaseAfter(CPSNetworkNode optPrevNode,
Aircraft leader,
Aircraft follower)
Determines the earliest time at which follower can be released so that it takes off after leader without incurring any runway delay, with respect to the predecessor bound according to the given previous node. |
int |
earliestReleaseAfter(int predBound,
Aircraft leader,
Aircraft follower)
Determines the earliest time at which follower can be released so that it takes off after leader without incurring any runway delay, with respect to the given predecessor bound. |
int |
earliestReleaseBetween(CPSNetworkNode optPrevNode,
Aircraft a,
Aircraft b,
Aircraft lastReleased)
Determines the earliest time at which lastReleased can be released from the spot to take off between aircraft a and b without increasing the spot delay of b or incurring any delay at the runway. |
int |
earliestReleaseBetween(int predBound,
Aircraft a,
Aircraft b,
Aircraft lastReleased)
Determines the earliest time at which lastReleased can be released from the spot to take off between aircraft a and b without increasing the spot delay of b or incurring any delay at the runway. |
java.util.ArrayList<Aircraft> |
sortedAlphasSoFar(NetworkEdge edge)
Returns a list of aircraft sorted in order of when they are predicted to take off, based on their optimal spot release times. |
Methods inherited from class edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.SpotCostStrategy |
---|
earliestRelease, earliestRelease, getEdgeWeight, initializeFirstStage, setOptimalValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneGapSpotCostStrategy(int cps, MinimumSeparationCalculator<? extends WeightClass> calc)
Method Detail |
---|
public java.util.ArrayList<Aircraft> sortedAlphasSoFar(NetworkEdge edge)
edge
-
public boolean canFitBefore(int earlyReleaseBound, Aircraft lastReleased, Aircraft lastTakeOff)
earlyReleaseBound
- lastReleased
- lastTakeOff
-
public int earliestReleaseAfter(int predBound, Aircraft leader, Aircraft follower)
predBound
- leader
- follower
-
public int earliestReleaseAfter(CPSNetworkNode optPrevNode, Aircraft leader, Aircraft follower)
optPrevNode
- leader
- follower
-
public int earliestReleaseBetween(CPSNetworkNode optPrevNode, Aircraft a, Aircraft b, Aircraft lastReleased)
optPrevNode
- Optimal previous node in the network for lastReleased.a
- b
- lastReleased
-
public int earliestReleaseBetween(int predBound, Aircraft a, Aircraft b, Aircraft lastReleased)
predBound
- a
- b
- lastReleased
-
public int earliestRelease(NetworkEdge edge)
earliestRelease
in class SpotCostStrategy
edge
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |