Class ConflictBuilderParallel.FixedWidthGenerator
java.lang.Object
org.opentrafficsim.road.network.lane.conflict.ConflictBuilderParallel.FixedWidthGenerator
- All Implemented Interfaces:
 ConflictBuilderParallel.WidthGenerator
- Enclosing class:
 - ConflictBuilderParallel
 
public static class ConflictBuilderParallel.FixedWidthGenerator extends java.lang.Object implements ConflictBuilderParallel.WidthGenerator
Generator with fixed width.
 
 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 16 dec. 2016 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Constructor Summary
Constructors Constructor Description FixedWidthGenerator(Length width)Constructor with width. - 
Method Summary
 
- 
Constructor Details
- 
FixedWidthGenerator
Constructor with width.- Parameters:
 width- Length; width
 
 - 
 - 
Method Details
- 
getWidth
Returns the begin width of this lane.- Specified by:
 getWidthin interfaceConflictBuilderParallel.WidthGenerator- Parameters:
 lane- Lane; lanefraction- double; fraction- Returns:
 - begin width of this lane
 
 - 
toString
public final java.lang.String toString()- Overrides:
 toStringin classjava.lang.Object
 
 -