RuleViolation Class

Describes a single process control rule violation detected in a control-chart point series.

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public sealed class RuleViolation
Inheritance
Object  →  RuleViolation

Remarks

Violations are reported at the trigger point where the rule fires. For run-based rules the trigger is the last point in the run; WindowStart and WindowLength identify the full supporting window.

Constructors

RuleViolation Initializes a new RuleViolation instance with the specified violation details.

Properties

RuleId Gets the stable programmatic identifier for the rule that fired.
RuleName Gets the user-facing display name of the triggered rule.
TriggerIndex Gets the zero-based index of the trigger point where the rule violation is detected.
WindowLength Gets the count of consecutive observations in the window supporting this violation.
WindowStart Gets the zero-based index of the first point in the run or window supporting this violation.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FromJson Reconstructs a RuleViolation from a JSON string.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToJson Serializes this rule violation to a JSON string.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also