Click or drag to resize

MinimumOnSlidingWindowT Class

Given a sequence of numeric values that will be added to this instance, the algorithm keeps track of the minimum value of the last numberOfItems added values. The name of the algorithm is ascending minima algorithm, one of the algorithms in the class of "minimum on a sliding window algorithms".
Inheritance Hierarchy
SystemObject
  Altaxo.Collections.OperationsMinimumOnSlidingWindowT

Namespace: Altaxo.Collections.Operations
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class MinimumOnSlidingWindow<T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Altaxo.Collections.Operations.MinimumOnSlidingWindow`1"]

The MinimumOnSlidingWindowT type exposes the following members.

Constructors
 NameDescription
Public methodMinimumOnSlidingWindowTInitializes a new instance of the MinimumOnSlidingWindowT class.
Top
Properties
 NameDescription
Public propertyMinimumValueGets the current minimum value of the window.
Top
Methods
 NameDescription
Public methodAddAdds the specified value to the window, and removes the item that is now expired from the window.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetSlidingMinimumGets the sliding minimum of an enumeration.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveRemoves the expired element from this window. Note: normally this is done when you use the Add(T) function, thus there is no need to call this function separately. When the minimum item is the item that is expired now, then this function will remove this item from the collection and sets the current minimum to the next greater item.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also