public static class ReservationGridManager.Query extends Object
Constructor and Description |
---|
ReservationGridManager.Query(int vin,
double arrivalTime,
double arrivalVelocity,
int arrivalLineId,
int departureLaneId,
Request.VehicleSpecForRequestMsg spec,
double maxTurnVelocity,
boolean accelerating)
Create a query.
|
Modifier and Type | Method and Description |
---|---|
int |
getArrivalLaneId()
Get the arrival lane ID.
|
double |
getArrivalTime()
Get the arrival time.
|
double |
getArrivalVelocity()
Get the arrival velocity.
|
int |
getDepartureLaneId()
Get the departure lane ID.
|
double |
getMaxTurnVelocity()
Get the maximum turn velocity.
|
Request.VehicleSpecForRequestMsg |
getSpec()
Get the specification of the vehicle for the request message.
|
int |
getVin()
Get the VIN of a vehicle.
|
boolean |
isAccelerating()
Whether the vehicle is allowed to accelerate.
|
public ReservationGridManager.Query(int vin, double arrivalTime, double arrivalVelocity, int arrivalLineId, int departureLaneId, Request.VehicleSpecForRequestMsg spec, double maxTurnVelocity, boolean accelerating)
vin
- the VIN of the vehiclearrivalTime
- the arrival timearrivalVelocity
- the arrival velocityarrivalLineId
- the arrival lane IDdepartureLaneId
- the departure lane IDspec
- the vehicle specificationmaxTurnVelocity
- the maximum turn velocityaccelerating
- Whether the acceleration is allowedpublic int getVin()
public double getArrivalTime()
public double getArrivalVelocity()
public int getArrivalLaneId()
public int getDepartureLaneId()
public Request.VehicleSpecForRequestMsg getSpec()
public double getMaxTurnVelocity()
public boolean isAccelerating()
Copyright © 2013. All rights reserved.