Class Delay<T extends Number & Comparable<T>>

Type Parameters:
T - the time type
All Implemented Interfaces:
Serializable, Remote, Identifiable, EventProducer

public class Delay<T extends Number & Comparable<T>> extends FlowObject<T>
The Delay object is a flow object that delays an entity for a given time. After the time delay, the entity is released to the next flow object. During the time delay, the entity is held in the delay object.

Copyright (c) 2002-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.

Author:
Peter Jacobs , Alexander Verbraeck
See Also:
  • Constructor Details

    • Delay

      public Delay(String id, DevsSimulatorInterface<T> simulator, DistContinuousSimulationTime<T> delayDistribution)
      Construct a new Delay flow block.
      Parameters:
      id - String; the id of the Delay flow object
      simulator - DevsSimulatorInterface<T>; the simulator
      delayDistribution - DistContinuousSimulationTime<T>; the delay distribution
  • Method Details