Class ConflictBuilder.RelativeWidthGenerator

    • Constructor Summary

      Constructors 
      Constructor Description
      RelativeWidthGenerator​(double factor)
      Constructor with width factor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getWidth​(Lane lane, double fraction)
      Returns the begin width of this lane.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 ConflictBuilder.WidthGenerator
        Parameters:
        lane - Lane; lane
        fraction - double; fraction
        Returns:
        begin width of this lane
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object