IEvaluator
hep.aida

Interface IEvaluator

  • All Known Implementing Classes:
    Evaluator


    public interface IEvaluator
    User's level interface of an IEvaluator.
    • Method Summary

      Methods 
      Modifier and TypeMethod and Description
      doubleevaluateDouble()
      Evaluate the IEvaluator from the data in the current row of the ITuple it is associated to.
      Stringexpression()
      Get the expression that defined the IEvaluator.
      voidinitialize(ITuple ituple)
      Initialize the IEvaluator and associate it to an ITuple.
    • Method Detail

      • initialize

        void initialize(ITuple ituple)                throws IllegalArgumentException
        Initialize the IEvaluator and associate it to an ITuple.
        Parameters:
        ituple - The ITuple to which the IEvaluator is associated.
        Throws:
        IllegalArgumentException - If the IEvaluator and the ITuple are not compatible.
      • evaluateDouble

        double evaluateDouble()                      throws RuntimeException
        Evaluate the IEvaluator from the data in the current row of the ITuple it is associated to.
        Returns:
        The current value of the Evaluator.
        Throws:
        RuntimeException - if the IEvaluator has not been initialized.
      • expression

        String expression()
        Get the expression that defined the IEvaluator.
        Returns:
        The expression.

SCaVis 1.7 © jWork.org