Modifier and Type | Field and Description |
---|---|
protected Location |
Depot.location |
protected Location |
Customer.location |
Modifier and Type | Field and Description |
---|---|
protected List<Location> |
VehicleRoutingSolution.locationList |
Modifier and Type | Method and Description |
---|---|
Location |
Vehicle.getLocation() |
Location |
Standstill.getLocation() |
Location |
Depot.getLocation() |
Location |
Customer.getLocation() |
Modifier and Type | Method and Description |
---|---|
List<Location> |
VehicleRoutingSolution.getLocationList() |
Modifier and Type | Method and Description |
---|---|
void |
Depot.setLocation(Location location) |
void |
Customer.setLocation(Location location) |
Modifier and Type | Method and Description |
---|---|
void |
VehicleRoutingSolution.setLocationList(List<Location> locationList) |
Constructor and Description |
---|
Customer(long id,
Location location,
int demand) |
Depot(long id,
Location location) |
Modifier and Type | Class and Description |
---|---|
class |
AirLocation
The cost between 2 locations is a straight line: the euclidean distance between their GPS coordinates.
|
class |
RoadLocation
The cost between 2 locations was precalculated on a real road network route.
|
Modifier and Type | Method and Description |
---|---|
double |
Location.getAirDistanceDoubleTo(Location location) |
double |
Location.getAngle(Location location)
The angle relative to the direction EAST.
|
long |
RoadLocation.getDistanceTo(Location location) |
abstract long |
Location.getDistanceTo(Location location)
The distance's unit of measurement depends on the
VehicleRoutingSolution 's DistanceType . |
long |
AirLocation.getDistanceTo(Location location) |
Modifier and Type | Class and Description |
---|---|
class |
HubSegmentLocation
Assistant for
RoadSegmentLocation . |
class |
RoadSegmentLocation
Like
RoadLocation ,
but for high scale problems to avoid the memory issue of keeping the entire cost matrix in memory. |
Modifier and Type | Method and Description |
---|---|
long |
RoadSegmentLocation.getDistanceTo(Location location) |
long |
HubSegmentLocation.getDistanceTo(Location location) |
Constructor and Description |
---|
TimeWindowedCustomer(long id,
Location location,
int demand,
long readyTime,
long dueTime,
long serviceDuration) |
TimeWindowedDepot(long id,
Location location,
long readyTime,
long dueTime) |
Modifier and Type | Method and Description |
---|---|
protected Customer |
VehicleRoutingPanel.createCustomer(VehicleRoutingSolution solution,
Location newLocation) |
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.