edu.mit.ll.group43.surfaceoptimization.dp.factory.edge
Class EdgeValueStrategy
java.lang.Object
edu.mit.ll.group43.surfaceoptimization.dp.factory.edge.EdgeValueStrategy
- Direct Known Subclasses:
- MinSeparationEdgeValueStrategy, ZeroEdgeValueStrategy
public abstract class EdgeValueStrategy
- extends java.lang.Object
Classes that implement this abstract class will serve as strategies
for the DPSequencer to set the values of edges in the CPS network
based on the nodes the edge connects and possibly the calculator
being used to determine the minimum separation times between the last
aircraft of the two nodes.
- Author:
- William Hawkins
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeValueStrategy
public EdgeValueStrategy(MinimumSeparationCalculator<? extends WeightClass> calc)
insertEdge
public abstract void insertEdge(CPSNetworkNode a,
CPSNetworkNode b)
- Inserts an edge between nodes a and b in the network and assigns
it a value.
- Parameters:
a
- b
-