Class ControlChart

  • All Implemented Interfaces:
    AdditionalInformationHandler, ArrayProvider, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, VariableChangeListener, Actor, ArrayProvider, ErrorHandler, InputConsumer, OutputProducer, Serializable, Comparable

    public class ControlChart
    extends AbstractArrayProvider
    Applies a control chart algorithm to the data.

    Input/output:
    - accepts:
       java.lang.Double[][]
       double[][]
       java.lang.Float[][]
       float[][]
       java.lang.Integer[][]
       int[][]
    - generates:
       adams.flow.container.ControlChartContainer


    Container information:
    - adams.flow.container.ControlChartContainer: Algor, Chart, Data, Prepared, Limits

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -name <java.lang.String> (property: name)
        The name of the actor.
        default: ControlChart
     
    -annotation <adams.core.base.BaseAnnotation> (property: annotations)
        The annotations to attach to this actor.
        default: 
     
    -skip <boolean> (property: skip)
        If set to true, transformation is skipped and the input token is just forwarded 
        as it is.
        default: false
     
    -stop-flow-on-error <boolean> (property: stopFlowOnError)
        If set to true, the flow gets stopped in case this actor encounters an error;
         useful for critical actors.
        default: false
     
    -silent <boolean> (property: silent)
        If enabled, then no errors are output in the console.
        default: false
     
    -output-array <boolean> (property: outputArray)
        Whether to output the control chart containers as array or one-by-one.
        default: false
     
    -chart <adams.data.spc.ControlChart> (property: chart)
        The control chart algorithm to use.
        default: adams.data.spc.UChart
     
    Version:
    $Revision: 6264 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Chart

        protected ControlChart m_Chart
        the control chart to use.
    • Constructor Detail

      • ControlChart

        public ControlChart()
    • Method Detail

      • setChart

        public void setChart​(ControlChart value)
        Sets the chart to use.
        Parameters:
        value - the chart
      • getChart

        public ControlChart getChart()
        Returns the chart to use.
        Returns:
        the chart
      • chartTipText

        public String chartTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        java.lang.Double[][].class, double[][].class, java.lang.Float[][].class, float[][].class, java.lang.Integer[][].class, int[][].class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message