Class FundamentalDiagrams.FundamentalDiagramPlotsModel

    • Constructor Detail

      • FundamentalDiagramPlotsModel

        FundamentalDiagramPlotsModel​(org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
        Parameters:
        simulator - OTSSimulatorInterface; the simulator for this model
    • Method Detail

      • createBlock

        protected final void createBlock()
        Set up the block.
      • removeBlock

        protected final void removeBlock()
        Remove the block.
      • generateCar

        protected final void generateCar()
        Generate cars at a fixed rate (implemented by re-scheduling this method).
      • getNetwork

        public OTSRoadNetwork getNetwork()
        Specified by:
        getNetwork in interface org.opentrafficsim.core.dsol.OTSModelInterface
      • getMinimumDistance

        public final Length getMinimumDistance()
        Returns:
        minimumDistance
      • getMaximumDistance

        public final Length getMaximumDistance()
        Returns:
        maximumDistance
      • getLane

        public Lane getLane()
        Returns:
        lane.