de.upb.swtpra05.group03.shuttle
Interface OrderEvaluaterInterface

All Known Implementing Classes:
Execution

public interface OrderEvaluaterInterface

Interface of an order evaluater.

Version:
$Revision: 1.3 $

Field Summary
static int NOTEVALUATEABLE
          Identifies that an order is not evaluateable.
 
Method Summary
 int evaluateOrderCosts(de.upb.swtpra.kernel.id.OrderID id, int curTime)
          Evaluates the costs to add an order to the current route and returns the value
 

Field Detail

NOTEVALUATEABLE

public static final int NOTEVALUATEABLE
Identifies that an order is not evaluateable.

See Also:
Constant Field Values
Method Detail

evaluateOrderCosts

public int evaluateOrderCosts(de.upb.swtpra.kernel.id.OrderID id,
                              int curTime)
Evaluates the costs to add an order to the current route and returns the value

Parameters:
id - The order id of the order to evaluate
curTime - The current time
Returns:
the estimated selfcosts if the order is added to the current route