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

    • Field Detail

      • TIMED_OBSERVATION_ADDED_EVENT

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

        public static final EventType TIMED_INITIALIZED_EVENT
        INITIALIZED_EVENT is fired whenever a Tally is (re-)initialized.
    • Constructor Detail

      • SimTally

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

        public SimTally​(String description,
                        DsolModel<T,​? extends SimulatorInterface<T>> model,
                        EventProducer target,
                        EventType eventType)
        constructs a new SimTally based on an eventType for which statistics are sampled.
        Parameters:
        description - String; the description of this tally.
        model - DsolModel<T, SimulatorInterface<T>>; the model
        target - EventProducer; the target on which to subscribe
        eventType - EventType; the eventType for which statistics are sampled