Package org.projog.core.math
Interface Numeric
- All Superinterfaces:
ArithmeticOperator,Term
- All Known Implementing Classes:
ClpVariable,DecimalFraction,IntegerNumber
A
Term that has a numerical value.- See Also:
-
Method Summary
Methods inherited from interface org.projog.core.math.ArithmeticOperator
calculateMethods inherited from interface org.projog.core.term.Term
backtrack, copy, getArgs, getArgument, getBound, getName, getNumberOfArguments, getTerm, getType, isImmutable, unify
-
Method Details
-
getLong
long getLong()Returns the value of this numeric as along.- Returns:
- the value of this numeric as a
long
-
getDouble
double getDouble()Returns the value of this numeric as adouble.- Returns:
- the value of this numeric as a
double
-