Uses of Interface
org.projog.core.math.Numeric
-
Packages that use Numeric Package Description org.projog.core.math org.projog.core.math.builtin Provides arithmetic operators.org.projog.core.predicate.builtin.clp Predicates to support constraint logic programming.org.projog.core.predicate.builtin.compare Predicates for comparing terms, including specific predicates for comparing numeric values.org.projog.core.predicate.builtin.construct Predicates for inspecting the structure of terms.org.projog.core.predicate.builtin.kb Predicates for inspecting, adding and retracting clauses.org.projog.core.term Contains the building blocks used to construct Prolog programs and queries. -
-
Uses of Numeric in org.projog.core.math
Methods in org.projog.core.math that return Numeric Modifier and Type Method Description protected NumericAbstractArithmeticOperator. calculate(Numeric n)protected NumericAbstractArithmeticOperator. calculate(Numeric n1, Numeric n2)NumericAbstractArithmeticOperator. calculate(Term[] args)NumericAbstractArithmeticOperator.PreprocessedBinaryOperator. calculate(Term[] args)NumericAbstractArithmeticOperator.PreprocessedUnaryOperator. calculate(Term[] args)NumericAbstractBinaryArithmeticOperator. calculate(Numeric n1, Numeric n2)NumericAbstractBinaryIntegerArithmeticOperator. calculate(Numeric n1, Numeric n2)NumericAbstractUnaryArithmeticOperator. calculate(Numeric n)NumericArithmeticOperator. calculate(Term[] args)Returns the result of the calculation using the specified arguments.private NumericArithmeticOperators. calculate(Term term, Term[] args)NumericArithmeticOperators. getNumeric(Term t)Returns the result of evaluating the specified arithmetic expression.Methods in org.projog.core.math with parameters of type Numeric Modifier and Type Method Description protected NumericAbstractArithmeticOperator. calculate(Numeric n)protected NumericAbstractArithmeticOperator. calculate(Numeric n1, Numeric n2)NumericAbstractBinaryArithmeticOperator. calculate(Numeric n1, Numeric n2)NumericAbstractBinaryIntegerArithmeticOperator. calculate(Numeric n1, Numeric n2)NumericAbstractUnaryArithmeticOperator. calculate(Numeric n)intNumericTermComparator. compare(Numeric n1, Numeric n2)Compares two arguments, representingNumericterms, for order.private static booleanAbstractBinaryArithmeticOperator. containsFraction(Numeric n1, Numeric n2)private longAbstractBinaryIntegerArithmeticOperator. toLong(Numeric n) -
Uses of Numeric in org.projog.core.math.builtin
Methods in org.projog.core.math.builtin that return Numeric Modifier and Type Method Description NumericDivide. calculate(Numeric n1, Numeric n2)protected NumericMax. calculate(Numeric n1, Numeric n2)protected NumericMin. calculate(Numeric n1, Numeric n2)NumericRandom. calculate(Numeric n)NumericRound. calculate(Numeric n)Methods in org.projog.core.math.builtin with parameters of type Numeric Modifier and Type Method Description NumericDivide. calculate(Numeric n1, Numeric n2)protected NumericMax. calculate(Numeric n1, Numeric n2)protected NumericMin. calculate(Numeric n1, Numeric n2)NumericRandom. calculate(Numeric n)NumericRound. calculate(Numeric n)private static booleanDivide. containsFraction(Numeric n1, Numeric n2)private DecimalFractionDivide. divideFractions(Numeric n1, Numeric n2) -
Uses of Numeric in org.projog.core.predicate.builtin.clp
Classes in org.projog.core.predicate.builtin.clp that implement Numeric Modifier and Type Class Description (package private) classClpVariableATermthat could represent a number of possible numeric values.Methods in org.projog.core.predicate.builtin.clp that return Numeric Modifier and Type Method Description NumericClpVariable. calculate(Term[] args) -
Uses of Numeric in org.projog.core.predicate.builtin.compare
Fields in org.projog.core.predicate.builtin.compare declared as Numeric Modifier and Type Field Description (package private) NumericIs.Unify. nConstructors in org.projog.core.predicate.builtin.compare with parameters of type Numeric Constructor Description Unify(Numeric n) -
Uses of Numeric in org.projog.core.predicate.builtin.construct
Methods in org.projog.core.predicate.builtin.construct that return Numeric Modifier and Type Method Description private NumericTermSplit. toDecimal(java.lang.String s)private NumericTermSplit. toNumeric(java.lang.String s) -
Uses of Numeric in org.projog.core.predicate.builtin.kb
Fields in org.projog.core.predicate.builtin.kb with type parameters of type Numeric Modifier and Type Field Description private java.util.Map<PredicateKey,Numeric>Flag. flagsMethods in org.projog.core.predicate.builtin.kb that return Numeric Modifier and Type Method Description NumericAddUserDefinedArithmeticOperator.UserDefinedArithmeticOperator. calculate(Term[] args)private NumericFlag. getOrCreate(PredicateKey pk) -
Uses of Numeric in org.projog.core.term
Classes in org.projog.core.term that implement Numeric Modifier and Type Class Description classDecimalFractionRepresents a value of the primitive typedoubleas aTerm.classIntegerNumberRepresents a value of the primitive typelongas aTerm.Methods in org.projog.core.term that return Numeric Modifier and Type Method Description static NumericTermUtils. castToNumeric(Term t)
-