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

Type Parameters:
T - the absolute simulation time to use in the warmup event
All Implemented Interfaces:
Serializable, Remote, EventListener, SimulationStatistic<T>, org.djutils.event.EventListener, org.djutils.event.EventProducer, Statistic, TallyStatistic
Direct Known Subclasses:
Utilization

public class SimPersistent<T extends Number & Comparable<T>> extends EventBasedTimestampWeightedTally implements SimulationStatistic<T>
The time-aware Persistent extends the djutils event-based timestamp-weighed tally and links it to the dsol framework.

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
See Also:
  • Field Details

    • TIMED_OBSERVATION_ADDED_EVENT

      public static final org.djutils.event.EventType TIMED_OBSERVATION_ADDED_EVENT
      OBSERVATION_ADDED_EVENT is fired whenever an observation is processed.
    • TIMED_INITIALIZED_EVENT

      public static final org.djutils.event.EventType TIMED_INITIALIZED_EVENT
      INITIALIZED_EVENT is fired whenever a Persistent is (re-)initialized.
  • Constructor Details

    • SimPersistent

      public SimPersistent(String description, DsolModel<T,? extends SimulatorInterface<T>> model)
      constructs a new SimPersistent.
      Parameters:
      description - String; refers to the description of this SimPersistent
      model - DsolModel<T, SimulatorInterface<T>>; the model
    • SimPersistent

      public SimPersistent(String description, DsolModel<T,? extends SimulatorInterface<T>> model, org.djutils.event.EventProducer target, org.djutils.event.EventType eventType)
      constructs a new SimPersistent.
      Parameters:
      model - DsolModel<T, SimulatorInterface<T>>; the model
      description - String; the description
      target - EventProducer; the target on which to collect statistics
      eventType - EventType; the eventType for which statistics are sampled
  • Method Details