Class AdditionOperation


public class AdditionOperation extends GenericOperation
Class to handle additions within a formula.
Version:
$Rev$
Author:
Ole Rahn

FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
  • Constructor Details

    • AdditionOperation

      public AdditionOperation(FormulaValue value1, FormulaValue value2)
      Sets the value, that will be operated on.
  • Method Details

    • getValue

      public double getValue(Feature feature)
      Returns the summarized values of the sub-values or sub-operations of this operation
      Specified by:
      getValue in class FormulaValue
      Parameters:
      feature - the Feature to get the value from
      Returns:
      summarized values of the sub-values or sub-operations