|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscheduler.modules.MeansOfTransportationChooserStub
A stub providing a set of rules to choose a proper means of transportation for the two given locations.
Field Summary |
Fields inherited from interface scheduler.modulesinterfaces.MeansOfTransportationProvider |
MAX_TAXI_DISTANCE, MAX_WALK_DISTANCE, MIN_BUS_DISTANCE, MIN_CRUISE_DISTANCE, MIN_FLIGHT_DISTANCE, MIN_TAXI_DISTANCE, MIN_TRAIN_DISTANCE |
Constructor Summary | |
MeansOfTransportationChooserStub()
|
Method Summary | |
java.util.ArrayList |
GetMeansOfTransportation(Location origin,
Location destination)
Gets a list of means of transportation appropriate for the main part of travek between the two given locations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MeansOfTransportationChooserStub()
Method Detail |
public java.util.ArrayList GetMeansOfTransportation(Location origin, Location destination)
MeansOfTransportationProvider
GetMeansOfTransportation
in interface MeansOfTransportationProvider
origin
- An origin of the travel.destination
- A destination of the travel.
MeansOfTransportationProvider.GetMeansOfTransportation(world.Location, world.Location)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |