Class SubtractionOperation


public class SubtractionOperation extends GenericOperation
Class to handle subtractions 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

    • SubtractionOperation

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

    • getValue

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