public static interface LaneBasedGTUGenerator.RoomChecker
| Modifier and Type | Method and Description | 
|---|---|
org.djunits.value.vdouble.scalar.Speed | 
canPlace(org.djunits.value.vdouble.scalar.Speed leaderSpeed,
        org.djunits.value.vdouble.scalar.Length headway,
        LaneBasedGTUCharacteristics laneBasedGTUCharacteristics)
Return the maximum safe speed for a new GTU with the specified characteristics. 
 | 
org.djunits.value.vdouble.scalar.Speed canPlace(org.djunits.value.vdouble.scalar.Speed leaderSpeed,
                                                org.djunits.value.vdouble.scalar.Length headway,
                                                LaneBasedGTUCharacteristics laneBasedGTUCharacteristics)
                                         throws org.opentrafficsim.core.network.NetworkException
leaderSpeed - Speed; speed of the nearest leaderheadway - Length; net distance to the nearest leader (always > 0)laneBasedGTUCharacteristics - LaneBasedGTUCharacteristics; characteristics of the proposed new GTUorg.opentrafficsim.core.network.NetworkException - this method may throw a NetworkException if it encounters an error in the network structureCopyright © 2014–2017 Delft University of Technology. All rights reserved.