Interface GtuGeneratorQueue

All Superinterfaces:
Locatable
All Known Implementing Classes:
AbstractGTUGeneratorOld, GTUGeneratorIndividualOld, LaneBasedGTUGenerator

public interface GtuGeneratorQueue
extends Locatable
Interface for GTU generators. As generators can be quite distinct and function autonomously, this interface only regards information for animation.

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.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 11 jan. 2018
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<DirectedPoint,​java.lang.Integer> getQueueLengths()
    Returns the locations and lengths of generation queues.

    Methods inherited from interface nl.tudelft.simulation.dsol.animation.Locatable

    getBounds, getLocation
  • Method Details

    • getQueueLengths

      java.util.Map<DirectedPoint,​java.lang.Integer> getQueueLengths()
      Returns the locations and lengths of generation queues. Note that the provided location may differ from the generator location, as one generator may generate GTU's at different points.
      Returns:
      Map<DirectedPoint, Integer>; locations and lengths of generation queues