Uses of Interface
org.projog.clp.Expression
-
Packages that use Expression Package Description org.projog.clp A constraint logic programming library for finite domains.org.projog.clp.bool Contains boolean constraints.org.projog.clp.compare Contains constraints which compare numeric values represented by instances ofExpression.org.projog.clp.math Contains classes that perform arithmetic operators using instances ofExpression. -
-
Uses of Expression in org.projog.clp
Subinterfaces of Expression in org.projog.clp Modifier and Type Interface Description interfaceConstraintA rule that restricts the numeric values that can be used to solve a problem.interfaceLeafExpressionClasses in org.projog.clp that implement Expression Modifier and Type Class Description classFixedValueRepresents a single immutable number.classVariableAn expression that can have one or more possible numeric values.Fields in org.projog.clp declared as Expression Modifier and Type Field Description private ExpressionClpConstraintStore.Enforce. expressionMethods in org.projog.clp that return Expression Modifier and Type Method Description ExpressionExpression. replace(java.util.function.Function<LeafExpression,LeafExpression> function)Returns aExpressionwithLeafExpressions in thisExpressionreplaced with values returned from the given function.Methods in org.projog.clp with parameters of type Expression Modifier and Type Method Description ClpConstraintStore.EnforceClpConstraintStore.Builder. enforce(Expression e)voidClpConstraintStore.Enforce. equalTo(Expression opposite)private VariableStateClpConstraintStore. getExpression(Expression e)longClpConstraintStore. getMax(Expression id)longReadConstraintStore. getMax(Expression id)longClpConstraintStore. getMin(Expression id)longReadConstraintStore. getMin(Expression id)voidClpConstraintStore.Enforce. lessThan(Expression opposite)voidClpConstraintStore.Enforce. lessThanOrEqualTo(Expression opposite)voidClpConstraintStore.Enforce. notEqualTo(Expression opposite)ClpConstraintStore.EnforceAllClpConstraintStore.EnforceAll. notEqualTo(Expression opposite)ExpressionResultClpConstraintStore. setMax(Expression id, long max)ExpressionResultConstraintStore. setMax(Expression id, long max)ExpressionResultClpConstraintStore. setMin(Expression id, long min)ExpressionResultConstraintStore. setMin(Expression id, long min)ExpressionResultClpConstraintStore. setNot(Expression id, long not)ExpressionResultConstraintStore. setNot(Expression id, long not)ExpressionResultClpConstraintStore. setValue(Expression id, long value)ExpressionResultConstraintStore. setValue(Expression id, long value)private ExpressionResultClpConstraintStore. update(Expression e, VariableStateResult r)Method parameters in org.projog.clp with type arguments of type Expression Modifier and Type Method Description voidConstraint. walk(java.util.function.Consumer<Expression> consumer)Traverse this constraint.voidExpression. walk(java.util.function.Consumer<Expression> consumer)Traverse this expression.voidFixedValue. walk(java.util.function.Consumer<Expression> r)voidVariable. walk(java.util.function.Consumer<Expression> r)Constructors in org.projog.clp with parameters of type Expression Constructor Description Enforce(ClpConstraintStore.Builder builder, Expression expression) -
Uses of Expression in org.projog.clp.bool
Classes in org.projog.clp.bool that implement Expression Modifier and Type Class Description classAndclassEquivalentclassImplicationclassNandclassNorclassNotclassOrclassXorMethod parameters in org.projog.clp.bool with type arguments of type Expression Modifier and Type Method Description voidAnd. walk(java.util.function.Consumer<Expression> r)voidEquivalent. walk(java.util.function.Consumer<Expression> r)voidImplication. walk(java.util.function.Consumer<Expression> r)voidNand. walk(java.util.function.Consumer<Expression> r)voidNor. walk(java.util.function.Consumer<Expression> r)voidNot. walk(java.util.function.Consumer<Expression> r)voidOr. walk(java.util.function.Consumer<Expression> r)voidXor. walk(java.util.function.Consumer<Expression> r) -
Uses of Expression in org.projog.clp.compare
Classes in org.projog.clp.compare that implement Expression Modifier and Type Class Description classBetweenEnforces that the possible values of a givenExpressionare within the given range.classEqualToEnforces that twoExpressions have the same value.classLessThanEnforces that the value of oneExpressionis less than another.classLessThanOrEqualToEnforces that the value of oneExpressionis less than or equal to another.classNotEqualToEnforces that twoExpressions do not have the same value.Fields in org.projog.clp.compare declared as Expression Modifier and Type Field Description private ExpressionBetween. eprivate ExpressionEqualTo. leftprivate ExpressionLessThan. leftprivate ExpressionLessThanOrEqualTo. leftprivate ExpressionNotEqualTo. leftprivate ExpressionEqualTo. rightprivate ExpressionLessThan. rightprivate ExpressionLessThanOrEqualTo. rightprivate ExpressionNotEqualTo. rightMethods in org.projog.clp.compare with parameters of type Expression Modifier and Type Method Description (package private) static ConstraintResultEqualTo. enforce(Expression left, Expression right, ConstraintStore m)(package private) static ConstraintResultLessThan. enforce(Expression left, Expression right, ConstraintStore m)(package private) static ConstraintResultLessThanOrEqualTo. enforce(Expression left, Expression right, ConstraintStore m)(package private) static ConstraintResultNotEqualTo. enforce(Expression left, Expression right, ConstraintStore m)Method parameters in org.projog.clp.compare with type arguments of type Expression Modifier and Type Method Description voidBetween. walk(java.util.function.Consumer<Expression> r)voidEqualTo. walk(java.util.function.Consumer<Expression> r)voidLessThan. walk(java.util.function.Consumer<Expression> r)voidLessThanOrEqualTo. walk(java.util.function.Consumer<Expression> r)voidNotEqualTo. walk(java.util.function.Consumer<Expression> r)Constructors in org.projog.clp.compare with parameters of type Expression Constructor Description Between(Expression e, long min, long max)Enforces that the possible values of the givenExpressionare within the given range (inclusive).EqualTo(Expression left, Expression right)LessThan(Expression left, Expression right)Enforces that the value ofleftis less than the value ofright.LessThanOrEqualTo(Expression left, Expression right)Enforces that the value ofleftis less than or equal to the value ofright.NotEqualTo(Expression left, Expression right) -
Uses of Expression in org.projog.clp.math
Classes in org.projog.clp.math that implement Expression Modifier and Type Class Description classAbsoluteclassAddThe sum of twoExpressions.classDivideThe result of dividing oneExpressionby another.classMaximumclassMinimumclassMinusclassMultiplyThe product of twoExpressions.classSubtractThe difference of twoExpressions.Fields in org.projog.clp.math declared as Expression Modifier and Type Field Description private ExpressionAbsolute. eprivate ExpressionMinus. eprivate ExpressionAdd. leftprivate ExpressionDivide. leftThe dividend.private ExpressionMaximum. leftprivate ExpressionMinimum. leftprivate ExpressionMultiply. leftprivate ExpressionSubtract. leftprivate ExpressionAdd. rightprivate ExpressionDivide. rightThe divisor.private ExpressionMaximum. rightprivate ExpressionMinimum. rightprivate ExpressionMultiply. rightprivate ExpressionSubtract. rightMethods in org.projog.clp.math with parameters of type Expression Modifier and Type Method Description private static ExpressionResultMultiply. setMax(ConstraintStore s, Expression left, long max, long leftMax, long rightMin, long rightMax, java.util.function.BiFunction<java.lang.Long,java.lang.Long,java.lang.Long> f)private static ExpressionResultMultiply. setMin(ConstraintStore s, Expression left, long min, long leftMin, long rightMin, long rightMax, java.util.function.BiFunction<java.lang.Long,java.lang.Long,java.lang.Long> f)Method parameters in org.projog.clp.math with type arguments of type Expression Modifier and Type Method Description voidAbsolute. walk(java.util.function.Consumer<Expression> consumer)voidAdd. walk(java.util.function.Consumer<Expression> r)voidDivide. walk(java.util.function.Consumer<Expression> r)voidMaximum. walk(java.util.function.Consumer<Expression> r)voidMinimum. walk(java.util.function.Consumer<Expression> r)voidMinus. walk(java.util.function.Consumer<Expression> consumer)voidMultiply. walk(java.util.function.Consumer<Expression> r)voidSubtract. walk(java.util.function.Consumer<Expression> r)Constructors in org.projog.clp.math with parameters of type Expression Constructor Description Absolute(Expression e)Add(Expression left, Expression right)Divide(Expression left, Expression right)Maximum(Expression left, Expression right)Minimum(Expression left, Expression right)Minus(Expression e)Multiply(Expression left, Expression right)Subtract(Expression left, Expression right)
-