Package org.projog.core.math.builtin
Class Max
- java.lang.Object
-
- org.projog.core.math.AbstractArithmeticOperator
-
- org.projog.core.math.builtin.Max
-
- All Implemented Interfaces:
KnowledgeBaseConsumer,ArithmeticOperator,PreprocessableArithmeticOperator
public final class Max extends AbstractArithmeticOperator
max- finds the maximum of two numbers.
-
-
Constructor Summary
Constructors Constructor Description Max()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Numericcalculate(Numeric n1, Numeric n2)-
Methods inherited from class org.projog.core.math.AbstractArithmeticOperator
calculate, calculate, isPure, preprocess, setKnowledgeBase
-
-
-
-
Method Detail
-
calculate
protected Numeric calculate(Numeric n1, Numeric n2)
- Overrides:
calculatein classAbstractArithmeticOperator
-
-