source: proiecte/ptvs/src/vnsim/vehicular/simulator/NotMovingPersonality.java @ 31

Last change on this file since 31 was 31, checked in by (none), 14 years ago
File size: 696 bytes
Line 
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 ***********************************************************************************/
6package vnsim.vehicular.simulator;
7
8public 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.