Interface Capacity

All Known Implementing Classes:
CapacityOTSLink

public interface Capacity

Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Nov 8, 2015
Author:
Alexander Verbraeck, Peter Knoppers
  • Method Details

    • getCapacity

      Frequency getCapacity()
      Returns:
      link capacity.
    • setCapacity

      void setCapacity​(Frequency capacity)
      Set the link capacity.
      Parameters:
      capacity - Frequency; the new capacity of the link as a frequency in GTUs per time unit.