Class TaskCarFollowing

    • Constructor Detail

      • TaskCarFollowing

        public TaskCarFollowing()
        Constructor.
    • Method Detail

      • getHeadway

        protected Duration getHeadway​(LanePerception perception,
                                      LaneBasedGTU gtu,
                                      Parameters parameters)
        Returns a collector for the task demand.
        Specified by:
        getHeadway in class TaskHeadwayBased
        Parameters:
        perception - LanePerception; perception
        gtu - LaneBasedGTU; gtu
        parameters - Parameters; parameters
        Returns:
        Duration; headway, null of none.