|
||||||||||
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.CostStrategyUtils
public class CostStrategyUtils
A collection of utility methods for cost strategies.
Constructor Summary | |
---|---|
CostStrategyUtils()
|
Method Summary | |
---|---|
static java.util.ArrayList<Aircraft> |
cloneSequence(java.util.ArrayList<Aircraft> sequence)
Returns an ArrayList of clones of the aircraft in the given sequence. |
static Aircraft |
lastTakeOff(java.util.ArrayList<Aircraft> sequence)
Returns the aircraft that takes off last in the given sequence, which does not need to be sorted by takeoff times. |
static int |
safePrevTimeBound(java.util.ArrayList<Aircraft> releaseSequence,
Aircraft current,
int cps)
Calculates the earliest that the current aircraft should be released from the spot without violating constrained position shifting for the given release sequence. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CostStrategyUtils()
Method Detail |
---|
public static Aircraft lastTakeOff(java.util.ArrayList<Aircraft> sequence)
sequence
-
public static java.util.ArrayList<Aircraft> cloneSequence(java.util.ArrayList<Aircraft> sequence)
sequence
-
public static int safePrevTimeBound(java.util.ArrayList<Aircraft> releaseSequence, Aircraft current, int cps)
releaseSequence
- current
- cps
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |