Control Chart 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#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
public abstract class ControlChart- Inheritance
- Object → ControlChart
- Derived
Remarks
A chart begins in the Unfitted state. The lifecycle flows as follows:
- Call Analyze() to transition from Unfitted to Fitted, computing phase-I control limits.
- Call Deploy() on a Fitted chart to obtain a new chart in the Deployed state ready for operational monitoring.
- 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
| Control | Initializes 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. |
| Analyze | 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. |
| Apply | 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. |
| Deploy | 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. |
| Diagnose | When overridden in a derived class, produces chart-specific diagnostics. Called by Diagnose() after state validation. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| Get | Serves as the default hash function. (Inherited from Object) |
| Get | Gets the Type of the current instance. (Inherited from Object) |
| Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |