Interface TrafficPerception

    • Method Detail

      • getSpeed

        Speed getSpeed​(RelativeLane lane)
                throws org.opentrafficsim.base.parameters.ParameterException
        Returns the perceived speed on the given lane.
        Parameters:
        lane - RelativeLane; lane
        Returns:
        Speed perceived speed on the given lane
        Throws:
        org.opentrafficsim.base.parameters.ParameterException - on parameter exception
      • getDensity

        LinearDensity getDensity​(RelativeLane lane)
                          throws org.opentrafficsim.base.parameters.ParameterException
        Returns the perceived density on the given lane.
        Parameters:
        lane - RelativeLane; lane
        Returns:
        LinearDensity perceived density on the given lane
        Throws:
        org.opentrafficsim.base.parameters.ParameterException - on parameter exception