Documentation of 'org.encog.app.quant.indicators.Indicator' Java class
Indicator
org.encog.app.quant.indicators

Class Indicator

    • Constructor Detail

      • Indicator

        public Indicator(java.lang.String name,
                         boolean input,
                         boolean output)
        Construct the indicator.
        Parameters:
        name - The indicator name.
        input - Is this indicator used to predict?
        output - Is this indicator what we are trying to predict.
    • Method Detail

      • calculate

        public abstract void calculate(java.util.Map<java.lang.String,BaseCachedColumn> data,
                                       int length)
        Calculate this indicator.
        Parameters:
        data - The data available to this indicator.
        length - The length of data to use.
      • getBeginningIndex

        public final int getBeginningIndex()
        Returns:
        the beginningIndex
      • getEndingIndex

        public final int getEndingIndex()
        Returns:
        the endingIndex
      • getPeriods

        public abstract int getPeriods()
        Returns:
        The number of periods this indicator is for.
      • require

        public final void require(java.util.Map<java.lang.String,BaseCachedColumn> theData,
                                  java.lang.String item)
        Require a specific type of underlying data.
        Parameters:
        theData - The data available.
        item - The type of data we are looking for.
      • setBeginningIndex

        public final void setBeginningIndex(int theBeginningIndex)
        Parameters:
        theBeginningIndex - the beginningIndex to set
      • setEndingIndex

        public final void setEndingIndex(int theEndingIndex)
        Parameters:
        theEndingIndex - the endingIndex to set.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.