|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IntExpression | |
---|---|
kodkod.ast | Contains classes for creating Kodkod formulas, expressions, and integer expressions. |
kodkod.ast.visitor | Contains visitors for Kodkod formulas, expressions, and integer expressions. |
kodkod.engine | Provides classes for analyzing and evaluating Kodkod ASTs with respect to finite bounds or instances. |
kodkod.engine.fol2sat | Provides a facade for translating, evaluating, and approximating Kodkod formulas, expressions, and int expressions with respect to a given Bounds (or Instance) and Options. |
Uses of IntExpression in kodkod.ast |
---|
Subclasses of IntExpression in kodkod.ast | |
---|---|
class |
BinaryIntExpression
A binary integer expression, e.g. |
class |
ExprToIntCast
An IntExpression representing the
cardinality of an Expression or the
sum of all the integer atoms contained in the expression. |
class |
IfIntExpression
An int expression whose value depends on the truth of a condition. |
class |
IntConstant
An integer constant (literal). |
class |
SumExpression
Denotes the integer obtained by summing the values of an iteger expression ie for all values of a scalar x drawn from a set e. |
class |
UnaryIntExpression
A unary integer expression, e.g. |
Methods in kodkod.ast that return IntExpression | |
---|---|
IntExpression |
IntExpression.abs()
Returns an IntExpression that represents the absolute value of this int expression. |
IntExpression |
IntExpression.and(IntExpression intexpr)
Returns an IntExpression that represents the bitwise AND of this and the given int node. |
IntExpression |
Expression.apply(ExprToIntCast.Operator op)
Returns the cast of this expression to an integer expression, that represents either the cardinality of this expression (if op is CARDINALITY) or the sum of the integer atoms it contains (if op is SUM). |
IntExpression |
IntExpression.apply(UnaryIntExpression.Operator op)
Returns an expression that represents the application of the given unary operator to this integer expression. |
IntExpression |
IntExpression.compose(BinaryIntExpression.Operator op,
IntExpression intexpr)
Returns an expression that combines this and the given integer expression using the specified operatior. |
IntExpression |
Expression.count()
Returns the cardinality of this expression. |
IntExpression |
IntExpression.divide(IntExpression intexpr)
Returns an IntExpression that represents the quotient of the division between this and the given int node. |
IntExpression |
IfIntExpression.elseExpr()
Returns the else-expression. |
IntExpression |
UnaryIntExpression.expression()
Returns this.expression. |
IntExpression |
SumExpression.intExpr()
Returns this.intExpr. |
IntExpression |
IntToExprCast.intExpr()
Returns this.intExpr. |
IntExpression |
IntComparisonFormula.left()
Returns the left child of this. |
IntExpression |
BinaryIntExpression.left()
Returns the left child of this. |
IntExpression |
IntExpression.minus(IntExpression intexpr)
Returns an IntExpression that represents the difference between this and the given int node. |
IntExpression |
IntExpression.modulo(IntExpression intexpr)
Returns an IntExpression that represents the remainder of the division between this and the given int node. |
IntExpression |
IntExpression.multiply(IntExpression intexpr)
Returns an IntExpression that represents the product of this and the given int node. |
IntExpression |
IntExpression.negate()
Returns an IntExpression that represents the negation of this int expression. |
IntExpression |
IntExpression.not()
Returns an IntExpression that represents the bitwise negation of this int expression. |
IntExpression |
IntExpression.or(IntExpression intexpr)
Returns an IntExpression that represents the bitwise OR of this and the given int node. |
IntExpression |
IntExpression.plus(IntExpression intexpr)
Returns an IntExpression that represents the sum of this and the given int node. |
IntExpression |
IntComparisonFormula.right()
Returns the right child of this. |
IntExpression |
BinaryIntExpression.right()
Returns the right child of this. |
IntExpression |
IntExpression.sha(IntExpression intexpr)
Returns an IntExpression that represents the right shift of this and the given int node, with sign extension. |
IntExpression |
IntExpression.shl(IntExpression intexpr)
Returns an IntExpression that represents the left shift of this by the given int node. |
IntExpression |
IntExpression.shr(IntExpression intexpr)
Returns an IntExpression that represents the right shift of this and the given int node, with zero extension. |
IntExpression |
IntExpression.signum()
Returns an IntExpression that represents the sign of this int expression. |
IntExpression |
Expression.sum()
Returns the sum of the integer atoms in this expression. |
IntExpression |
IntExpression.sum(Decls decls)
Returns an integer expression that is the sum of all values that this integer expression can take given the provided declarations. |
IntExpression |
Formula.thenElse(IntExpression thenExpr,
IntExpression elseExpr)
Returns the if expression constructed from this formula and the specified then and else integer expressions. |
IntExpression |
IfIntExpression.thenExpr()
Returns the then-expression. |
IntExpression |
IntExpression.xor(IntExpression intexpr)
Returns an IntExpression that represents the bitwise XOR of this and the given int node. |
Methods in kodkod.ast that return types with arguments of type IntExpression | |
---|---|
java.util.List<IntExpression> |
ProjectExpression.columns()
Returns this.columns. |
Methods in kodkod.ast with parameters of type IntExpression | |
---|---|
IntExpression |
IntExpression.and(IntExpression intexpr)
Returns an IntExpression that represents the bitwise AND of this and the given int node. |
Formula |
IntExpression.compare(IntComparisonFormula.Operator op,
IntExpression intexpr)
Returns a formula comparing this and the given integer expression using the specified operatior. |
IntExpression |
IntExpression.compose(BinaryIntExpression.Operator op,
IntExpression intexpr)
Returns an expression that combines this and the given integer expression using the specified operatior. |
IntExpression |
IntExpression.divide(IntExpression intexpr)
Returns an IntExpression that represents the quotient of the division between this and the given int node. |
Formula |
IntExpression.eq(IntExpression intexpr)
Returns a formula stating that the given int expression and this have the same value. |
Formula |
IntExpression.gt(IntExpression intexpr)
Returns a formula stating that the value of this int expression is greater than the value of the given int expression The effect of this method is the same as calling this.compose(IntComparisonFormula.Operator.GT, intexpr). |
Formula |
IntExpression.gte(IntExpression intexpr)
Returns a formula stating that the value of this int expression is greater than or equal to the value of the given int expression The effect of this method is the same as calling this.compose(IntComparisonFormula.Operator.GTE, intexpr). |
Formula |
IntExpression.lt(IntExpression intexpr)
Returns a formula stating that the value of this int expression is less than the value of the given int expression The effect of this method is the same as calling this.compose(IntComparisonFormula.Operator.LT, intexpr). |
Formula |
IntExpression.lte(IntExpression intexpr)
Returns a formula stating that the value of this int expression is less than or equal to the value of the given int expression The effect of this method is the same as calling this.compose(IntComparisonFormula.Operator.LTE, intexpr). |
IntExpression |
IntExpression.minus(IntExpression intexpr)
Returns an IntExpression that represents the difference between this and the given int node. |
IntExpression |
IntExpression.modulo(IntExpression intexpr)
Returns an IntExpression that represents the remainder of the division between this and the given int node. |
IntExpression |
IntExpression.multiply(IntExpression intexpr)
Returns an IntExpression that represents the product of this and the given int node. |
IntExpression |
IntExpression.or(IntExpression intexpr)
Returns an IntExpression that represents the bitwise OR of this and the given int node. |
IntExpression |
IntExpression.plus(IntExpression intexpr)
Returns an IntExpression that represents the sum of this and the given int node. |
Expression |
Expression.project(IntExpression... columns)
Returns the projection of this expression onto the specified columns. |
IntExpression |
IntExpression.sha(IntExpression intexpr)
Returns an IntExpression that represents the right shift of this and the given int node, with sign extension. |
IntExpression |
IntExpression.shl(IntExpression intexpr)
Returns an IntExpression that represents the left shift of this by the given int node. |
IntExpression |
IntExpression.shr(IntExpression intexpr)
Returns an IntExpression that represents the right shift of this and the given int node, with zero extension. |
IntExpression |
Formula.thenElse(IntExpression thenExpr,
IntExpression elseExpr)
Returns the if expression constructed from this formula and the specified then and else integer expressions. |
IntExpression |
IntExpression.xor(IntExpression intexpr)
Returns an IntExpression that represents the bitwise XOR of this and the given int node. |
Constructors in kodkod.ast with parameters of type IntExpression | |
---|---|
BinaryIntExpression(IntExpression left,
BinaryIntExpression.Operator op,
IntExpression right)
Constructs a new binary int formula: left op right |
Uses of IntExpression in kodkod.ast.visitor |
---|
Methods in kodkod.ast.visitor that return IntExpression | |
---|---|
IntExpression |
AbstractReplacer.visit(BinaryIntExpression intExpr)
Calls lookup(intExpr) and returns the cached value, if any. |
IntExpression |
AbstractReplacer.visit(ExprToIntCast intExpr)
Calls lookup(intExpr) and returns the cached value, if any. |
IntExpression |
AbstractReplacer.visit(IfIntExpression intExpr)
Calls lookup(intExpr) and returns the cached value, if any. |
IntExpression |
AbstractReplacer.visit(IntConstant intconst)
Calls lookup(intconst) and returns the cached value, if any. |
IntExpression |
AbstractReplacer.visit(SumExpression intExpr)
Calls lookup(intExpr) and returns the cached value, if any. |
IntExpression |
AbstractReplacer.visit(UnaryIntExpression intExpr)
Calls lookup(intExpr) and returns the cached value, if any. |
Uses of IntExpression in kodkod.engine |
---|
Methods in kodkod.engine with parameters of type IntExpression | |
---|---|
int |
Evaluator.evaluate(IntExpression intExpr)
Evaluates the specified int expession with respect to the relation-tuple mappings given by this.instance and using this.options. |
Uses of IntExpression in kodkod.engine.fol2sat |
---|
Methods in kodkod.engine.fol2sat with parameters of type IntExpression | |
---|---|
static Int |
Translator.evaluate(IntExpression intExpr,
Instance instance,
Options options)
Evalutes the given intexpression to an Int using the provided instance and options. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |