Uses of Class
org.optaweb.vehiclerouting.domain.Location
-
Packages that use Location Package Description org.optaweb.vehiclerouting.domain Domain model.org.optaweb.vehiclerouting.plugin.persistence Persistence infrastructure.org.optaweb.vehiclerouting.plugin.planner Route optimization.org.optaweb.vehiclerouting.plugin.planner.domain Domain model adjusted for OptaPlanner.org.optaweb.vehiclerouting.plugin.websocket Network communication over WebSocket.org.optaweb.vehiclerouting.service.distance Distance matrix calculation.org.optaweb.vehiclerouting.service.location Use cases that involvelocations. -
-
Uses of Location in org.optaweb.vehiclerouting.domain
Methods in org.optaweb.vehiclerouting.domain that return Location Modifier and Type Method Description LocationRoute. depot()Depot in which the route starts and ends.Methods in org.optaweb.vehiclerouting.domain that return types with arguments of type Location Modifier and Type Method Description Optional<Location>RoutingPlan. depot()The depot.List<Location>Route. visits()List of vehicle's visits (not including the depot).List<Location>RoutingPlan. visits()All visits that are part of the routing problem.Constructors in org.optaweb.vehiclerouting.domain with parameters of type Location Constructor Description Route(Vehicle vehicle, Location depot, List<Location> visits)Create a vehicle route.RoutingPlan(Distance distance, List<Vehicle> vehicles, Location depot, List<Location> visits, List<RouteWithTrack> routes)Create a routing plan.Constructor parameters in org.optaweb.vehiclerouting.domain with type arguments of type Location Constructor Description Route(Vehicle vehicle, Location depot, List<Location> visits)Create a vehicle route. -
Uses of Location in org.optaweb.vehiclerouting.plugin.persistence
Methods in org.optaweb.vehiclerouting.plugin.persistence that return Location Modifier and Type Method Description LocationLocationRepositoryImpl. createLocation(Coordinates coordinates, String description)LocationLocationRepositoryImpl. removeLocation(long id)Methods in org.optaweb.vehiclerouting.plugin.persistence that return types with arguments of type Location Modifier and Type Method Description Optional<Location>LocationRepositoryImpl. find(long locationId)List<Location>LocationRepositoryImpl. locations()Methods in org.optaweb.vehiclerouting.plugin.persistence with parameters of type Location Modifier and Type Method Description voidDistanceRepositoryImpl. deleteDistances(Location location)longDistanceRepositoryImpl. getDistance(Location from, Location to)voidDistanceRepositoryImpl. saveDistance(Location from, Location to, long distance) -
Uses of Location in org.optaweb.vehiclerouting.plugin.planner
Methods in org.optaweb.vehiclerouting.plugin.planner with parameters of type Location Modifier and Type Method Description voidRouteOptimizerImpl. addLocation(Location domainLocation, DistanceMatrixRow distanceMatrixRow)voidRouteOptimizerImpl. removeLocation(Location domainLocation) -
Uses of Location in org.optaweb.vehiclerouting.plugin.planner.domain
Methods in org.optaweb.vehiclerouting.plugin.planner.domain with parameters of type Location Modifier and Type Method Description static PlanningLocationPlanningLocationFactory. fromDomain(Location location)Create planning location without a distance map.static PlanningLocationPlanningLocationFactory. fromDomain(Location location, DistanceMap distanceMap)Create planning location from a domain location and a distance map. -
Uses of Location in org.optaweb.vehiclerouting.plugin.websocket
Methods in org.optaweb.vehiclerouting.plugin.websocket with parameters of type Location Modifier and Type Method Description (package private) static PortableLocationPortableLocation. fromLocation(Location location) -
Uses of Location in org.optaweb.vehiclerouting.service.distance
Methods in org.optaweb.vehiclerouting.service.distance with parameters of type Location Modifier and Type Method Description DistanceMatrixRowDistanceMatrixImpl. addLocation(Location newLocation)voidDistanceRepository. deleteDistances(Location location)longDistanceRepository. getDistance(Location from, Location to)voidDistanceMatrixImpl. removeLocation(Location location)voidDistanceRepository. saveDistance(Location from, Location to, long distance) -
Uses of Location in org.optaweb.vehiclerouting.service.location
Methods in org.optaweb.vehiclerouting.service.location that return Location Modifier and Type Method Description LocationLocationRepository. createLocation(Coordinates coordinates, String description)Create a location with a unique ID.LocationLocationRepository. removeLocation(long id)Remove a location with the given ID.Methods in org.optaweb.vehiclerouting.service.location that return types with arguments of type Location Modifier and Type Method Description Optional<Location>LocationRepository. find(long locationId)Find a location by its ID.List<Location>LocationRepository. locations()Get all locations.Methods in org.optaweb.vehiclerouting.service.location with parameters of type Location Modifier and Type Method Description DistanceMatrixRowDistanceMatrix. addLocation(Location location)booleanLocationService. addLocation(Location location)voidRouteOptimizer. addLocation(Location location, DistanceMatrixRow distanceMatrixRow)voidDistanceMatrix. removeLocation(Location location)voidRouteOptimizer. removeLocation(Location location)
-