Click or drag to resize

MinMaxQueue Class

Represents a dynamic circle queue for finding Min value on sliding window.
Inheritance Hierarchy
SystemObject
  FinAnalysis.BaseMinMaxQueue

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public class MinMaxQueue

The MinMaxQueue type exposes the following members.

Constructors
  NameDescription
Public methodMinMaxQueue(Int32, MinMaxQueueMinOrMax)
Initializes a new instance of the FinAnalysis.Base.MinMaxQueue. Queue will find Min or Max on sliding window of exact "capacity" elements.
Public methodMinMaxQueue(TimeSpan, MinMaxQueueMinOrMax)
Initializes a new instance of the FinAnalysis.Base.Minimizer Queue will find Min or Max on sliding window during timePeiod
Top
Properties
  NameDescription
Public propertyExtremum
Min or Max value on sliding value. Depends on minOrMax constructor parameter.
Public propertyExtremumDateTime
What time was associated with extremal value.
Public propertyExtremumPoint
How many values have been added since extremal value on specified period.
Top
Methods
  NameDescription
Public methodClone
Makes full copy of this instance.
Public methodCopyTo
Sets internal state to destination object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPut(Double)
Store arbitrary data and time in queue. Do not call this method for MinMaxQueue created on time period.
Public methodPut(Double, DateTime)
Store arbitrary data and time in queue.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also