Interface ChangeDetector

    • Method Detail

      • resetLearning

        void resetLearning()
        Resets this change detector. It must be similar to starting a new change detector from scratch.
      • input

        void input​(double inputValue)
        Adding a numeric value to the change detector

        The output of the change detector is modified after the insertion of a new item inside.
        Parameters:
        inputValue - the number to insert into the change detector
      • getChange

        boolean getChange()
        Gets whether there is change detected.
        Returns:
        true if there is change
      • getWarningZone

        boolean getWarningZone()
        Gets whether the change detector is in the warning zone, after a warning alert and before a change alert.
        Returns:
        true if the change detector is in the warning zone
      • getEstimation

        double getEstimation()
        Gets the prediction of next values.
        Returns:
        a prediction of the next value
      • getDelay

        double getDelay()
        Gets the length of the delay in the change detected.
        Returns:
        he length of the delay in the change detected
      • getOutput

        double[] getOutput()
        Gets the output state of the change detection.
        Returns:
        an array with the number of change detections, number of warnings, delay, and estimation.
      • getDescription

        void getDescription​(StringBuilder sb,
                            int indent)
        Returns a string representation of the model.
        Specified by:
        getDescription in interface MOAObject
        Parameters:
        sb - the stringbuilder to add the description
        indent - the number of characters to indent