Sage Modeling and Simulation Library

EventTimeHistorian Members

The EventTimeHistorian type exposes the following members.

Constructors


  Name Description
Public method EventTimeHistorian
Initializes a new instance of the EventTimeHistorian class, tracking the last m events, where m is the lowest (2^n)+1 that is greater than numPastEventsTracked. (n is any whole nonnegative number.)

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetAverageIntraEventDuration
Gets the average intra event duration for the past n events. If n is -1, .
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method LogEvent
Logs the fact that an event was just fired.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property PastEventCapacity
Gets the max number of past events that can be tracked.
Public property PastEventsReceived
Gets the number of past events received.