edu.mit.ll.group43.surfaceoptimization.dp.factory.cost
Class AGOGFSpotCostStrategy

java.lang.Object
  extended by edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.CostStrategy
      extended by edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.SpotCostStrategy
          extended by edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.OneGapSpotCostStrategy
              extended by edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.OneGapForceSpotCostStrategy
                  extended by edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.AGOGFSpotCostStrategy

public class AGOGFSpotCostStrategy
extends OneGapForceSpotCostStrategy

Solves for the shortest path in the CPS network by combining the One Gap Force and All Gaps algorithms.

Author:
William Hawkins

Constructor Summary
AGOGFSpotCostStrategy(int cps, MinimumSeparationCalculator<? extends WeightClass> calc)
           
 
Method Summary
 int getEdgeWeight(NetworkEdge edge)
          Returns the additional delay that would be incurred if the optimal spot release time of the last aircraft in the target node was calculated immediately after that of the source node in the optimization.
 
Methods inherited from class edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.OneGapForceSpotCostStrategy
initializeFirstStage, safePrevTimeBound, safePrevTimeBound, setOptimalValues, sortedAlphasSoFar, sortedAlphasSoFar
 
Methods inherited from class edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.OneGapSpotCostStrategy
canFitBefore, earliestRelease, earliestReleaseAfter, earliestReleaseAfter, earliestReleaseBetween, earliestReleaseBetween
 
Methods inherited from class edu.mit.ll.group43.surfaceoptimization.dp.factory.cost.SpotCostStrategy
earliestRelease, earliestRelease
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGOGFSpotCostStrategy

public AGOGFSpotCostStrategy(int cps,
                             MinimumSeparationCalculator<? extends WeightClass> calc)
Method Detail

getEdgeWeight

public int getEdgeWeight(NetworkEdge edge)
Returns the additional delay that would be incurred if the optimal spot release time of the last aircraft in the target node was calculated immediately after that of the source node in the optimization. This will be the lower of the two calculated using the All Gaps and One Gap Force heuristics.

Overrides:
getEdgeWeight in class OneGapForceSpotCostStrategy
Parameters:
edge -
Returns: