/** * The lane-based GTUs are the Generalized Travel Units that travel in lanes, * and need to switch lanes to overtake. The GTUs have a model that determines * acceleration and initial speed for the next time step. They also have a * lane changing model that indicates when to change lanes and how long it * takes to change lanes. The lateral position of the reference point of the * GTU relative to the center line of the lanes in which the vehicle is * registered can be determined that way. *

* Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, * Delft, the Netherlands. All rights reserved. *

* See for project information * www.opentrafficsim.org. *

* The OpenTrafficSim project is distributed under the following BSD-style license: *

* Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: *

* This software is provided by the copyright holders and contributors "as is" * and any express or implied warranties, including, but not limited to, the * implied warranties of merchantability and fitness for a particular purpose * are disclaimed. In no event shall the copyright holder or contributors be * liable for any direct, indirect, incidental, special, exemplary, or * consequential damages (including, but not limited to, procurement of * substitute goods or services; loss of use, data, or profits; or business * interruption) however caused and on any theory of liability, whether in * contract, strict liability, or tort (including negligence or otherwise) * arising in any way out of the use of this software, even if advised of the * possibility of such damage. */ package org.opentrafficsim.road.gtu.lane;