Constructor and Description |
---|
Request.Proposal(int arrivalLaneID,
int departureLaneID,
double arrivalTime,
double arrivalVelocity,
double maxTurnVelocity)
Create a proposal.
|
Request.Proposal(Request.Proposal p)
Create a copy of a given proposal.
|
Modifier and Type | Method and Description |
---|---|
int |
getArrivalLaneID()
Get the lane ID number for the Lane in which the vehicle would like to
arrive at the intersection.
|
double |
getArrivalTime()
Get the time at which the vehicle wants to arrive at the intersection.
|
double |
getArrivalVelocity()
Get the velocity at which the vehicle wants to arrive at the
intersection.
|
int |
getDepartureLaneID()
Get the ID number for the Lane in which the vehicle would like to depart
the intersection.
|
double |
getMaximumTurnVelocity()
Get the requesting vehicle's maximum velocity for this pair of arrival
and departure lanes.
|
String |
toString() |
public Request.Proposal(int arrivalLaneID, int departureLaneID, double arrivalTime, double arrivalVelocity, double maxTurnVelocity)
arrivalLaneID
- the ID of the arrival lanedepartureLaneID
- the ID of the departure lanearrivalTime
- the arrival timearrivalVelocity
- the arrival velocitymaxTurnVelocity
- the maximum turn velocitypublic Request.Proposal(Request.Proposal p)
p
- the given proposalpublic int getArrivalLaneID()
public int getDepartureLaneID()
public double getArrivalTime()
public double getArrivalVelocity()
public double getMaximumTurnVelocity()
Copyright © 2013. All rights reserved.