Class AbstractArithmeticOperator.PreprocessedUnaryOperator

java.lang.Object
org.projog.core.math.AbstractArithmeticOperator.PreprocessedUnaryOperator
All Implemented Interfaces:
ArithmeticOperator
Enclosing class:
AbstractArithmeticOperator

private final class AbstractArithmeticOperator.PreprocessedUnaryOperator extends Object implements ArithmeticOperator
  • Field Details

  • Constructor Details

  • Method Details

    • calculate

      public Numeric calculate(Term[] args)
      Description copied from interface: ArithmeticOperator
      Returns the result of the calculation using the specified arguments.
      Specified by:
      calculate in interface ArithmeticOperator
      Parameters:
      args - the arguments to use in the calculation
      Returns:
      the result of the calculation using the specified arguments