Class Utilization<T extends Number & Comparable<T>>
java.lang.Object
org.djutils.stats.summarizers.WeightedTally
org.djutils.stats.summarizers.TimestampWeightedTally
org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally
nl.tudelft.simulation.dsol.statistics.SimPersistent<T>
nl.tudelft.simulation.dsol.formalisms.flow.statistics.Utilization<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
A Utilization statistic for the flow components.
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 Summary
Fields inherited from class nl.tudelft.simulation.dsol.statistics.SimPersistent
TIMED_INITIALIZED_EVENT, TIMED_OBSERVATION_ADDED_EVENT
Fields inherited from class org.djutils.stats.summarizers.WeightedTally
semaphore
Fields inherited from interface org.djutils.event.EventProducer
FIRST_POSITION, LAST_POSITION
-
Constructor Summary
ConstructorDescriptionUtilization
(String description, DsolModel<T, ? extends SimulatorInterface<T>> model, FlowObject<T> target) constructs a new Utilization. -
Method Summary
Methods inherited from class nl.tudelft.simulation.dsol.statistics.SimPersistent
getSimulator, initialize, register
Methods inherited from class org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTally
fireEvents, getEventListenerMap, register, register, toString
Methods inherited from class org.djutils.stats.summarizers.TimestampWeightedTally
endObservations, endObservations, getLastValue, isActive, registerValue, reportFooter, reportHeader, reportLine
Methods inherited from class org.djutils.stats.summarizers.WeightedTally
getDescription, getMax, getMin, getN, getWeightedPopulationMean, getWeightedPopulationStDev, getWeightedPopulationVariance, getWeightedSampleMean, getWeightedSampleStDev, getWeightedSampleVariance, getWeightedSum
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.djutils.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
Methods inherited from interface nl.tudelft.simulation.dsol.statistics.SimulationStatistic
getDescription, getN
Methods inherited from interface org.djutils.stats.summarizers.Statistic
formatFixed
-
Constructor Details
-
Utilization
public Utilization(String description, DsolModel<T, ? extends SimulatorInterface<T>> model, FlowObject<T> target) constructs a new Utilization.- Parameters:
description
- String; the description of this utilizationmodel
- DsolModel<T, SimulatorInterface<T>>; the modeltarget
- FlowObject<T>; the target
-
-
Method Details
-
notify
public void notify(org.djutils.event.Event event) - Specified by:
notify
in interfaceorg.djutils.event.EventListener
- Overrides:
notify
in classSimPersistent<T extends Number & Comparable<T>>
-