Package org.projog.core.math
Interface ArithmeticOperator
- All Known Subinterfaces:
Numeric,PreprocessableArithmeticOperator
- All Known Implementing Classes:
Abs,AbstractArithmeticOperator,AbstractBinaryArithmeticOperator,AbstractBinaryIntegerArithmeticOperator,AbstractUnaryArithmeticOperator,Add,BitShift,BitwiseAnd,BitwiseOr,BitwiseXor,DecimalFraction,Divide,IntegerDivide,IntegerNumber,Max,Min,Minus,Modulo,Multiply,Power,Random,Remainder,Round,Subtract
public interface ArithmeticOperator
Represents a function that returns a single numerical value.
- See Also:
-
Method Summary
-
Method Details
-
calculate
Returns the result of the calculation using the specified arguments.- Parameters:
args- the arguments to use in the calculation- Returns:
- the result of the calculation using the specified arguments
-