Rev | Line | |
---|
[31] | 1 | /************************************************************************************ |
---|
| 2 | * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University |
---|
| 3 | * All rights reserved. |
---|
| 4 | * Refer to LICENSE for terms and conditions of use. |
---|
| 5 | ***********************************************************************************/ |
---|
| 6 | package vnsim.vehicular.simulator; |
---|
| 7 | |
---|
| 8 | public class NotMovingPersonality extends CalmPersonality { |
---|
| 9 | |
---|
| 10 | public double getAccelerationFreeDriving() { |
---|
| 11 | return 0.0; |
---|
| 12 | } |
---|
| 13 | public double getWantedSpeed(int roadIndex) { |
---|
| 14 | return 0.0; |
---|
| 15 | } |
---|
| 16 | public double getLaneChangeSafetyDistance(double mySpeed, double folSpeed) { |
---|
| 17 | //TO DO BETTER |
---|
| 18 | |
---|
| 19 | return 1000.0; |
---|
| 20 | } |
---|
| 21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.