Interface AlgorithmExecutor

    • Method Detail

      • updateParameters

        boolean updateParameters​(List<ParameterValue> paramList)
        Update parameters and return true if the algorithm should run
        Parameters:
        paramList - - list of input parameters
        Returns:
        true if the algorithm should run
      • runAlgorithm

        List<ParameterValue> runAlgorithm​(long acqTime,
                                          long genTime)
        Runs the associated algorithm with the latest InputParameters
        Parameters:
        acqTime -
        genTime -
        Returns:
        the outputted parameters, if any
      • addExecListener

        void addExecListener​(AlgorithmExecListener listener)
        Add a listener to be called each time the algorithm has run
        Parameters:
        listener -
      • getExecutionContext

        AlgorithmExecutionContext getExecutionContext()
        Returns:
        the execution context in which the executor activates
      • getLookbackSize

        @Deprecated
        default int getLookbackSize​(Parameter parameter)
        Deprecated.
        the method has been removed because it has nothing to do here. The implementation from AbstractAlgorithmExecutor has been moved in AlgorithmUtils