public class VehicleTypeKey extends AbstractVehicle.AbstractTypeKey
Two vehicles are equal if they share the same type, the same start and end-location and the same earliestStart and latestStart.
| Modifier and Type | Field and Description |
|---|---|
double |
earliestStart |
String |
endLocationId |
double |
latestEnd |
boolean |
returnToDepot |
Skills |
skills |
String |
startLocationId |
String |
type |
| Constructor and Description |
|---|
VehicleTypeKey(String typeId,
String startLocationId,
String endLocationId,
double earliestStart,
double latestEnd,
Skills skills,
boolean returnToDepot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
getIndex, setIndexpublic final String type
public final String startLocationId
public final String endLocationId
public final double earliestStart
public final double latestEnd
public final Skills skills
public final boolean returnToDepot
Copyright © 2013–2019. All rights reserved.