Class AbstractDelayedNeighborsPerception

    • Constructor Detail

      • AbstractDelayedNeighborsPerception

        public AbstractDelayedNeighborsPerception​(LanePerception perception)
        Deprecated.
        Constructor.
        Parameters:
        perception - LanePerception; perception
    • Method Detail

      • updateAll

        public final void updateAll()
                             throws org.opentrafficsim.core.gtu.GTUException,
                                    org.opentrafficsim.core.network.NetworkException,
                                    org.opentrafficsim.base.parameters.ParameterException
        Deprecated.
        Specified by:
        updateAll in interface org.opentrafficsim.core.gtu.perception.PerceptionCategory<LaneBasedGTU,​LanePerception>
        Throws:
        org.opentrafficsim.core.gtu.GTUException
        org.opentrafficsim.core.network.NetworkException
        org.opentrafficsim.base.parameters.ParameterException
      • isGtuAlongsideOverride

        public final boolean isGtuAlongsideOverride​(org.opentrafficsim.core.network.LateralDirectionality lat)
        Deprecated.
        Returns whether to override the gtu alongside boolean as true.
        Parameters:
        lat - LateralDirectionality; lateral direction
        Returns:
        whether to override the gtu alongside boolean as true
      • updateAllDelayed

        protected void updateAllDelayed()
                                 throws org.opentrafficsim.core.gtu.GTUException,
                                        org.opentrafficsim.core.network.NetworkException,
                                        org.opentrafficsim.base.parameters.ParameterException
        Deprecated.
        Performs actual update.
        Throws:
        org.opentrafficsim.base.parameters.ParameterException - if parameter is not present or is given a wrong value
        org.opentrafficsim.core.network.NetworkException - on error in the network
        org.opentrafficsim.core.gtu.GTUException - if not initialized
      • getDelayedCrossSection

        public final SortedSet<RelativeLane> getDelayedCrossSection()
        Deprecated.
        Returns the cross-section on which the most recent observed neighbors were determined.
        Returns:
        cross-section on which the most recent observed neighbors were determined