public class VehicleTimeRecord
extends java.lang.Object
                | Modifier and Type | Field and Description | 
|---|---|
protected int | 
                                id
                                    the id of the vehicle it belongs to 
                                 | 
                            
protected float | 
                                maxVelocity
                                    the maximum velocity of the vehicle 
                                 | 
                            
protected float | 
                                position
                                    the position of the vehicle after the last
                                        simulation step
                                     
                                 | 
                            
protected float | 
                                velocity
                                    the velocity of the vehicle during the last
                                        simulation step
                                     
                                 | 
                            
| Constructor and Description | 
|---|
VehicleTimeRecord(int id,
                                    float position,
                                    float velocity,
                                    float maxVelocity)
                                    Construct a new VehicleTimeRecord. 
                                 | 
                            
| Modifier and Type | Method and Description | 
|---|---|
float | 
                                getMaxVelocity() 
                                 | 
                            
float | 
                                getPosition() 
                                 | 
                            
float | 
                                getVelocity() 
                                 | 
                            
protected int id
protected float position
protected float velocity
protected float maxVelocity
public VehicleTimeRecord(int id,
                         float position,
                         float velocity,
                         float maxVelocity)
                                id - the id of the vehicle it belongs toposition - the position of the vehicle after
                                        the last simulation step
                                    velocity - the velocity of the vehicle during
                                        the last simulation step
                                    maxVelocity - the maximum velocity of the
                                        vehicle