Class LaneBasedGTUGenerator.Placement
java.lang.Object
org.opentrafficsim.road.gtu.generator.LaneBasedGTUGenerator.Placement
- Enclosing class:
- LaneBasedGTUGenerator
public static final class LaneBasedGTUGenerator.Placement extends Object
Placement contains the information that a
RoomChecker returns.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 12 jan. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields Modifier and Type Field Description static LaneBasedGTUGenerator.PlacementNOValue if the GTU cannot be placed. -
Constructor Summary
Constructors Constructor Description Placement(Speed speed, Set<DirectedLanePosition> position)Constructor. -
Method Summary
Modifier and Type Method Description booleancanPlace()Returns whether the GTU can be placed.Set<DirectedLanePosition>getPosition()Returns the position.SpeedgetSpeed()Returns the speed.StringtoString()