RuleEvaluationResult.ViolationsByIndex Property

Gets a map from each point index to the violations whose windows include that index. Computed lazily on first access.

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public IReadOnlyDictionary<int, IReadOnlyList<RuleViolation>> ViolationsByIndex { get; }

Property Value

IReadOnlyDictionary<Int32, IReadOnlyList<RuleViolation>>

Remarks

A violation with WindowStarts and WindowLengthlen appears in the lists for all indices in [s, s + len - 1].

This is a full participation map over violation windows, not limited to TriggerIndex.

The ordering within each list is deterministic: violations are ordered by TriggerIndex ascending, then by RuleId in ordinal order.

The cost of building this map is proportional to the total covered window length across all violations.

See Also