|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that must be implemented by a class that will judge if to drop a specified changes or not.
Method Summary | |
void |
SetTravelConstraints(TravelConstraints constraints)
Sets the travel constraints providing the minimal duration of change. |
boolean |
ShouldDropChange(ConnectionsFinderTask task,
ConnectionsFinderTask changeTask,
TravelPart travelPart,
boolean fRevert)
Checks whether it is wise to do not take the given change. |
Method Detail |
public boolean ShouldDropChange(ConnectionsFinderTask task, ConnectionsFinderTask changeTask, TravelPart travelPart, boolean fRevert)
task
- A task describing the current connection.changeTask
- A task describing the change.travelPart
- A travel part that is being solved. It provides the destination.fRevert
- Specifies whether the planning is perfomred with the arrival date limit.
public void SetTravelConstraints(TravelConstraints constraints)
constraints
- Travel constraints specifying the minimal duration of change.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |