Click or drag to resize

LongestCommonSubstringBaseMinimumOnSlidingWindow Structure

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
  SystemValueType
    Altaxo.Collections.TextLongestCommonSubstringBaseMinimumOnSlidingWindow

Namespace: Altaxo.Collections.Text
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected struct MinimumOnSlidingWindow

The LongestCommonSubstringBaseMinimumOnSlidingWindow type exposes the following members.

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 methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitializeInitializes a new instance of the LongestCommonSubstringBaseMinimumOnSlidingWindow class.
Public methodRemoveRemoves the expired element from this window. Note: normally this is done when you use the Add(Int32) 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 the fully qualified type name of this instance.
(Inherited from ValueType)
Top
See Also