SimpleDataQueue Properties |
The SimpleDataQueue type exposes the following members.
Name | Description | |
---|---|---|
ArithmeticMean |
Get Arithmetic Mean.
http://en.wikipedia.org/wiki/Average#Arithmetic_mean
| |
Capacity |
Set or Get queue capacity (number of elements it can store) or size of sliding window if it is AutoStatic queue.
Note: if for non time period auto queue, you specify capacity equal to one then queue switch to SingleElement mode.
Note: if for non time period auto queue, you specify capacity not equal to one then queue switch to AutoStatic mode.
| |
CoefficientOfVariation |
Get Coefficient Of Variation of stored set of values.
http://en.wikipedia.org/wiki/Coefficient_of_variation
| |
Count |
Get the number of elements stored in container.
| |
ExpectedValue |
Get estimation of distribution's Expected Value.
http://en.wikipedia.org/wiki/Expected_value
| |
First |
Get first(oldest) data element stored in container.
Note: if there is not elements in queue it returns DefaultValue.
| |
FirstDateTime |
Get first(oldest) data element DateTime stored in container.
Note: if there is not elements in queue it returns DefaltDateTime.
| |
FirstRawMoment |
Get estimation of distribution's First Raw Moment.
http://en.wikipedia.org/wiki/Moment_(mathematics)
| |
HighPrecision |
Calculate separate statistics on non-overlapped windows and update it on the window boundary for calculation error minimization at the cost of small performance decrease.
| |
Initialized |
This flag is set if and only if queue has already initialized (you already add something to it).
Note: you don't have to change Period or Capacity if queue already initialized.
| |
ItemDateTime |
Return historically latest element with smaller or equal DateTime.
Note: do not try to use this method if you didn't specify DateTime to data elements.
| |
ItemInt32 |
Get data which was store "index" steps ago.
| |
Last |
Get last data element stored in container.
Note: if there is not elements in queue it returns DefaultValue.
| |
LastDateTime |
Get last data element DateTime stored in container.
Note: if there is not elements in queue it returns DefaltDateTime.
| |
ManualUpdateFactor |
Update factor on statistics calculation in high precision mode in queue ManualControl mode operation.
Every PutLast, PutFirst, RemoveLast, RemoveFirst operation is counted (as manualCount variable in next equation).
When manualCount become greater then queue.Count * ManualUpdateFactor the statistics data are recalculated
by the raw data.
For example suppose ManualUpdateFactor if equal 3.
First of all you have put 100 elements in queue. Than you have removed 50 elements from the queue.
So the manualCount = 100 + 50, and queue.Count = 50.
So on the next remove operation the manualCount becomes greater than queue.Count * ManualUpdateFactor and
statistics will be recalculated.
| |
NeedDateTime |
This flag is set if and only if queue need DateTime to be specified for data elements, which you intend to add.
| |
Period |
Set or Get time period, how long container will save elements (For AutoDynamic queue).
Note: As soon as you specify Time Period queue switch to Auto Dynamic mode.
| |
Previous |
Get previous data element stored in container.
Note: if there is such not elements in queue it returns DefaltValue.
| |
QuadraticMean |
Get Quadratic Mean.
http://en.wikipedia.org/wiki/Quadratic_mean
| |
Ready |
Ready flag is set if and only if queue contain something.
| |
SecondCentralMoment |
Get estimation of distribution's Second Central Moment.
http://en.wikipedia.org/wiki/Central_moment
| |
SecondRawMoment |
Get estimation of distribution's Second Raw Moment.
http://en.wikipedia.org/wiki/Moment_(mathematics)
| |
StandardDeviation |
Get distribution's Standard Deviation, same as StandardDeviationPopulation.
http://en.wikipedia.org/wiki/Standard_Deviation
| |
StandardDeviationPopulation |
Get distribution's Standard Deviation.
http://en.wikipedia.org/wiki/Standard_Deviation
| |
StandardDeviationSample |
Get estimation of distribution's Standard Deviation.
http://en.wikipedia.org/wiki/Standard_Deviation
| |
Sum |
Get sum of values stored in the set.
| |
SumOfAbsoluteValues |
Get sum of absolute values stored in the set.
| |
SumOfSquares |
Returns sum of squares.
| |
Type |
Return type of queue:
SingleElement: Queue store only one single element. (Useful as default method for indicators history storing)
ManualControl: Support all typical operations specific to Dequeue. (Useful for some custom work).
AutoStatic: Store all elements in sliding window specified by number elements to store. Automatically drop element when it out of the window.
AutoDynamic: Store all elements in sliding window specified by time period. Automatically drop element when it out of the window.
| |
Variance |
Get distribution's Variance, same as VariancePopulation.
http://en.wikipedia.org/wiki/Variance
| |
VariancePopulation |
Get distribution's Variance.
http://en.wikipedia.org/wiki/Variance
| |
VarianceSample |
Get estimation distribution's Variance.
http://en.wikipedia.org/wiki/Variance
|