Uses of Class
org.optaplanner.examples.tsp.domain.location.Location
Packages that use Location
Package
Description
-
Uses of Location in org.optaplanner.examples.tsp.domain
Methods in org.optaplanner.examples.tsp.domain that return LocationModifier and TypeMethodDescriptionDomicile.getLocation()Standstill.getLocation()Visit.getLocation()Methods in org.optaplanner.examples.tsp.domain that return types with arguments of type LocationMethods in org.optaplanner.examples.tsp.domain with parameters of type LocationModifier and TypeMethodDescriptionvoidDomicile.setLocation(Location location) voidVisit.setLocation(Location location) Method parameters in org.optaplanner.examples.tsp.domain with type arguments of type LocationConstructors in org.optaplanner.examples.tsp.domain with parameters of type Location -
Uses of Location in org.optaplanner.examples.tsp.domain.location
Subclasses of Location in org.optaplanner.examples.tsp.domain.locationModifier and TypeClassDescriptionclassThe cost between 2 locations is a straight line: the euclidean distance between their GPS coordinates.classThe cost between 2 locations was precalculated on a real road network route.Methods in org.optaplanner.examples.tsp.domain.location with parameters of type LocationModifier and TypeMethodDescriptiondoubleLocation.getAirDistanceDoubleTo(Location location) doubleThe angle relative to the direction EAST.longAirLocation.getDistanceTo(Location location) abstract longLocation.getDistanceTo(Location location) The distance's unit of measurement depends on theTspSolution'sDistanceType.longRoadLocation.getDistanceTo(Location location)