ControlChart Class

Abstract base class for all v2 SPC control charts. Provides shared lifecycle orchestration through the Unfitted, Fitted, and Deployed states.

Definition

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

Remarks

A chart begins in the Unfitted state. The lifecycle flows as follows:

  1. Call Analyze() to transition from Unfitted to Fitted, computing phase-I control limits.
  2. Call Deploy() on a Fitted chart to obtain a new chart in the Deployed state ready for operational monitoring.
  3. Call Apply(Vector<Double>) on a Deployed chart with new observations to obtain a new Fitted chart reflecting the updated data.

State transitions are managed entirely by this base class. Subclasses override the Core methods to supply chart-specific behaviour without touching state directly.

Constructors

ControlChartInitializes a new instance of the ControlChart class

Properties

State Gets the current lifecycle state of this chart.

Methods

Analyze Performs phase-I analysis, establishing control limits and transitioning the chart from Unfitted to Fitted.
AnalyzeCore When overridden in a derived class, performs the chart-specific phase-I analysis logic. Called by Analyze() after state validation.
Apply Applies new observations to this Deployed chart and returns a new ControlChart in the Fitted state.
ApplyCore When overridden in a derived class, applies new observations and returns the shell of a new chart instance that Apply(Vector<Double>) will place in the Fitted state. Called by Apply(Vector<Double>) after state validation.
Deploy Creates a new chart in the Deployed state from this Fitted chart.
DeployCore When overridden in a derived class, creates the shell of a new chart instance that Deploy() will place in the Deployed state. Called by Deploy() after state validation.
Diagnose Produces a diagnostic report for the current chart state.
DiagnoseCore When overridden in a derived class, produces chart-specific diagnostics. Called by Diagnose() after state validation.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also