Class ConflictBuilderParallel.RelativeWidthGenerator

    • Constructor Detail

      • RelativeWidthGenerator

        public RelativeWidthGenerator​(double factor)
        Constructor with width factor.
        Parameters:
        factor - double; width factor
    • Method Detail

      • getWidth

        public final double getWidth​(Lane lane,
                                     double fraction)
        Returns the begin width of this lane.
        Specified by:
        getWidth in interface ConflictBuilderParallel.WidthGenerator
        Parameters:
        lane - Lane; lane
        fraction - double; fraction
        Returns:
        begin width of this lane