CustomRule.Evaluate Method

Evaluates this rule over the supplied context and returns all violations found.

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public IReadOnlyList<RuleViolation> Evaluate(
	RuleEvaluationContext context
)

Parameters

context  RuleEvaluationContext
The evaluation context providing the ordered point series, center line, and sigma value.

Return Value

IReadOnlyList<RuleViolation>
A read-only list of RuleViolation instances, deterministically ordered by TriggerIndex ascending. Returns an empty list when no violation is detected.

Implements

IProcessRule.Evaluate(RuleEvaluationContext)

Remarks

Implementations must return violations ordered by TriggerIndex ascending to allow the ControlRuleSet engine to produce a deterministic merged result.

See Also