Uses of Class
world.Location

Packages that use Location
gui.controls   
scheduler   
scheduler.modules   
scheduler.modulesinterfaces   
world   
 

Uses of Location in gui.controls
 

Methods in gui.controls that return Location
(package private)  Location WorldView.ViewPointToLocation(java.awt.Point point)
          Translates the point of a view to the location.
 Location LocationsChooser.GetOrigin()
          Gets the origin of the travel selected by the user.
 Location LocationsChooser.GetDestination()
          Gets the destination of the travel selected by the user.
 

Methods in gui.controls with parameters of type Location
(package private)  java.awt.Point WorldView.LocationToViewPoint(Location location)
          Translates the location to the point on the view area (in the current scale).
 void LocationsChooser.ReceiveLocation(Location location)
          Called by the world view after the user has clicked the origin/destination of the travel.
 

Uses of Location in scheduler
 

Fields in scheduler declared as Location
private  Location TravelPart.origin
          The origin of this travel part.
private  Location TravelPart.destination
          The destination of this travel part.
 

Methods in scheduler that return Location
 Location TravelPart.GetOrigin()
          Gets the origin of this travel part.
 Location TravelPart.GetDestination()
          Gets ths destination of this travel part.
 

Methods in scheduler with parameters of type Location
 java.util.ArrayList TravelPartsGenerator.GenerateTravelParts(Location origin, Location destination, TravelConstraints travelConstraints)
          Gets a list of possible divisions of the travel into the travel parts.
static boolean TravelPartsGenerator.AreCloseEnough(Location x, Location y)
          Gets a boolean value indicating whether the two given locations are close enough to each other to be accepted as a space between two travel parts.
private  java.util.ArrayList TravelPartsGenerator.GenerateParts(Location origin, Location destination, Station originStation, Station destinationStation, int depth)
          Gets a list of all possible divisions into parts taken by some mean of transportation of a travel from the given origin to the given destination.
private  java.util.ArrayList TravelPartsGenerator.GetStations(int meanOfTransportation, Location location, int range)
          Gets a list of stations for the given location and mean of transportation.
private  void TravelPartsGenerator.MinimiseUnplannedDistances(java.util.ArrayList divisions, Location origin, Location destination)
          Removes routes with the unplanned distances much longer then the of other ones.
private  void TravelPartsGenerator.MinimiseUnplannedDistancesPerSide(java.util.ArrayList divisions, Location origin, Location destination)
          Removes routes with the unplanned distances much longer then the of other ones.
private  java.util.ArrayList TravelPartsGenerator.GetClosestStations(java.util.ArrayList stations, Location location, int countLimit)
          Gets a list of at most given number of stations being the closest ones from the given list to the given location.
private  java.util.ArrayList TravelPartsGenerator.GetAirports(Location location, int range)
          Gets the airports close to the given location, but no more then some limit value.
private  java.util.ArrayList TravelPartsGenerator.GetBusStops(Location location, int range)
          Gets the bus stops close to the given location, but no more then some limit value.
private  java.util.ArrayList TravelPartsGenerator.GetTrainStations(Location location, int range)
          Gets the train stations close to the given location, but no more then some limit value.
private  java.util.ArrayList TravelPartsGenerator.GetHarbours(Location location, int range)
          Gets the harbours close to the given location, but no more then some limit value.
 

Constructors in scheduler with parameters of type Location
TravelPartConnectionChunk(int meanOfTransportation, Location origin, Location destination)
          Constructor.
TravelPart(int meanOfTransportation, Location origin, Location destination)
          Constructor.
 

Uses of Location in scheduler.modules
 

Methods in scheduler.modules with parameters of type Location
 java.util.ArrayList MeansOfTransportationJessChooser.GetMeansOfTransportation(Location origin, Location destination)
           
 java.util.ArrayList MeansOfTransportationChooserStub.GetMeansOfTransportation(Location origin, Location destination)
           
 java.util.ArrayList FeedbackTravelPartsProviderStub.GetFeedbackTravelParts(Location origin, Location destination, int meanOfTransportation)
           
 

Uses of Location in scheduler.modulesinterfaces
 

Methods in scheduler.modulesinterfaces with parameters of type Location
 java.util.ArrayList MeansOfTransportationProvider.GetMeansOfTransportation(Location origin, Location destination)
          Gets a list of means of transportation appropriate for the main part of travek between the two given locations.
 java.util.ArrayList FeedbackTravelPartsProvider.GetFeedbackTravelParts(Location origin, Location destination, int meanOfTransportation)
          Gets a list of stations pairs to be taken into account when searching for the main parts of the travel division.
 

Uses of Location in world
 

Fields in world declared as Location
private  Location WorldObject.location
          A location of this world object.
 

Methods in world that return Location
 Location WorldObject.GetLocation()
          Gets the location of this world object.
private  Location WorldFileParser.GetLocation()
          Gets the location built basing on the parsed data.
 

Methods in world with parameters of type Location
private static void World.SaveLocationTag(java.io.FileWriter fileWriter, Location location, java.lang.String linePrefix)
          Stores a location tag for the given location object to the given file writer.
static int TravelTime.GetTravelTime(Location x, Location y, int meanOfTransportation)
          Counts a time of travel between two points using the given mean of transportation.
 boolean Location.IsEqual(Location other)
          Compares this location to the other one.
static double Location.GetDistance(Location x, Location y)
          Gets the distance between two locations.
 

Constructors in world with parameters of type Location
WorldObject(Location location, java.lang.String name)
          Constructor.
TrainStation(Location location, java.lang.String name)
          Constructor.
Station(Location location, java.lang.String name, int meanOfTransportation)
          Constructor.
Harbour(Location location, java.lang.String name)
          Constructor.
City(Location location, java.lang.String name)
          Constructor.
BusStop(Location location, java.lang.String name)
          Constructor.
Airport(Location location, java.lang.String name)
          Constructor.