Interface ConflictBuilderParallel.WidthGenerator

All Known Implementing Classes:
ConflictBuilderParallel.FixedWidthGenerator, ConflictBuilderParallel.RelativeWidthGenerator
Enclosing class:
ConflictBuilderParallel

public static interface ConflictBuilderParallel.WidthGenerator
Generator for 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
  • Method Summary

    Modifier and Type Method Description
    double getWidth​(Lane lane, double fraction)
    Returns the begin width of this lane.
  • Method Details

    • getWidth

      double getWidth​(Lane lane, double fraction)
      Returns the begin width of this lane.
      Parameters:
      lane - Lane; lane
      fraction - double; fraction
      Returns:
      begin width of this lane