Package org.projog.core.math
Interface ArithmeticOperator
- All Known Subinterfaces:
Numeric,PreprocessableArithmeticOperator
- All Known Implementing Classes:
Abs,AbstractArithmeticOperator,AbstractArithmeticOperator.PreprocessedBinaryOperator,AbstractArithmeticOperator.PreprocessedUnaryOperator,AbstractBinaryArithmeticOperator,AbstractBinaryIntegerArithmeticOperator,AbstractUnaryArithmeticOperator,Add,AddUserDefinedArithmeticOperator.UserDefinedArithmeticOperator,BitwiseAnd,BitwiseOr,BitwiseXor,ClpVariable,DecimalFraction,Divide,IntegerDivide,IntegerNumber,Max,Min,Minus,Modulo,Multiply,Power,Random,Remainder,Round,ShiftLeft,ShiftRight,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
-