Uses of Class
kodkod.ast.Expression

Packages that use Expression
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 Expression in kodkod.ast
 

Subclasses of Expression in kodkod.ast
 class BinaryExpression
          A relational expression with two children.
 class Comprehension
          A comprehension expression, e.g.
 class ConstantExpression
          A constant valued expression.
 class IfExpression
          An expression whose value depends on the truth of a given condition.
 class IntToExprCast
          Represents the conversion from an int expression to an expression.
 class LeafExpression
          An expression with no children.
 class ProjectExpression
          A general projection expression.
 class Relation
          A relation is a leaf expression.
 class UnaryExpression
          An expression with one child.
 class Variable
          Represents a variable in a quantified formula, a comprehension expression, or a sum expression.
 

Fields in kodkod.ast declared as Expression
static Expression Expression.IDEN
          The identity relation: maps all atoms in a universe of discourse to themselves.
static Expression Expression.INTS
          The integer relation: contains all atoms bound to integers
static Expression Expression.NONE
          The empty relation: contains no atoms.
static Expression Expression.UNIV
          The universal relation: contains all atoms in a universe of discourse.
 

Methods in kodkod.ast that return Expression
 Expression Expression.apply(UnaryExpression.Operator op)
          Returns the expression that results from applying the given unary operator to this.
 Expression Expression.closure()
          Returns the transitive closure of this.
 Expression Expression.compose(BinaryExpression.Operator op, Expression expr)
          Returns the composition of this and the specified expression, using the given binary operator.
 Expression Formula.comprehension(Decls decls)
          Returns the comprehension expression constructed from this formula and the given declarations.
 Expression Expression.difference(Expression expr)
          Returns the difference of this and the specified expression.
 Expression RelationPredicate.Function.domain()
          Returns the domain of this.relation.
 Expression IfExpression.elseExpr()
          Returns the else-expression.
 Expression UnaryExpression.expression()
          Returns this.expression.
 Expression ProjectExpression.expression()
          Returns this.expression.
 Expression MultiplicityFormula.expression()
          Returns the expression of this.
 Expression ExprToIntCast.expression()
          Returns this.expression.
 Expression Decl.expression()
          Returns the expression in this declaration.
 Expression Expression.intersection(Expression expr)
          Returns the intersection of this and the specified expression.
 Expression Expression.join(Expression expr)
          Returns the join of this and the specified expression.
 Expression ComparisonFormula.left()
          Returns the left child of this.
 Expression BinaryExpression.left()
          Returns the left child of this.
 Expression Expression.override(Expression expr)
          Returns the relational override of this with the specified expression.
 Expression Expression.product(Expression expr)
          Returns the product of this and the specified expression.
 Expression Expression.project(IntExpression... columns)
          Returns the projection of this expression onto the specified columns.
 Expression RelationPredicate.Function.range()
          Returns the range of this.relation.
 Expression Expression.reflexiveClosure()
          Returns the reflexive transitive closure of this.
 Expression ComparisonFormula.right()
          Returns the right child of this.
 Expression BinaryExpression.right()
          Returns the right child of this.
 Expression Formula.thenElse(Expression thenExpr, Expression elseExpr)
          Returns the if expression constructed from this formula and the specified then and else expressions.
 Expression IfExpression.thenExpr()
          Returns the then-expression.
 Expression IntExpression.toExpression()
          Returns an expression whose meaning is the singleton set containing the atom that represents the integer given by this integer expression.
 Expression Expression.transpose()
          Returns the transpose of this.
 Expression Expression.union(Expression expr)
          Returns the union of this and the specified expression.
 

Methods in kodkod.ast with parameters of type Expression
 Expression Expression.compose(BinaryExpression.Operator op, Expression expr)
          Returns the composition of this and the specified expression, using the given binary operator.
 Formula Expression.compose(ComparisonFormula.Operator op, Expression expr)
          Returns the formula that represents the composition of this and the given expression with the given comparison operator.
 Decl Variable.declare(Multiplicity mult, Expression expr)
          Returns the declaration that constrains this variable to be bound to the specified number of the elements in the given expression: 'this: mult expr'.
 Expression Expression.difference(Expression expr)
          Returns the difference of this and the specified expression.
 Formula Expression.eq(Expression expr)
          Returns the formula 'this = expr'.
 Formula Relation.function(Expression domain, Expression range)
          Returns a formula stating that this relation is a total function with the specified domain and range.
 Formula Relation.functional(Expression domain, Expression range)
          Returns a formula stating that this relation is a partial function with the specified domain and range.
 Formula Expression.in(Expression expr)
          Returns the formula 'this in expr'.
 Expression Expression.intersection(Expression expr)
          Returns the intersection of this and the specified expression.
 Expression Expression.join(Expression expr)
          Returns the join of this and the specified expression.
 Decl Variable.loneOf(Expression expr)
          Returns the declaration that constrains this variable to be bound to at most one element of the given expression: 'this: lone expr'.
 Decl Variable.oneOf(Expression expr)
          Returns the declaration that constrains this variable to be bound to exactly one element of the given expression: 'this: one expr'.
 Expression Expression.override(Expression expr)
          Returns the relational override of this with the specified expression.
 Expression Expression.product(Expression expr)
          Returns the product of this and the specified expression.
 Decl Variable.setOf(Expression expr)
          Returns the declaration that constrains this variable to be bound to a subset of the elements in the given expression: 'this: set expr'.
 Decl Variable.someOf(Expression expr)
          Returns the declaration that constrains this variable to be bound to at least one element of the given expression: 'this: some expr'.
 Expression Formula.thenElse(Expression thenExpr, Expression elseExpr)
          Returns the if expression constructed from this formula and the specified then and else expressions.
 Expression Expression.union(Expression expr)
          Returns the union of this and the specified expression.
 

Uses of Expression in kodkod.ast.visitor
 

Methods in kodkod.ast.visitor that return Expression
 Expression AbstractReplacer.visit(BinaryExpression binExpr)
          Calls lookup(binExpr) and returns the cached value, if any.
 Expression AbstractReplacer.visit(Comprehension comprehension)
          Calls lookup(comprehension) and returns the cached value, if any.
 Expression AbstractReplacer.visit(ConstantExpression constExpr)
          Calls lookup(constExpr) and returns the cached value, if any.
 Expression AbstractReplacer.visit(IfExpression ifExpr)
          Calls lookup(ifExpr) and returns the cached value, if any.
 Expression AbstractReplacer.visit(IntToExprCast castExpr)
          Calls lookup(castExpr) and returns the cached value, if any.
 Expression AbstractReplacer.visit(ProjectExpression project)
          Calls lookup(decls) and returns the cached value, if any.
 Expression AbstractReplacer.visit(Relation relation)
          Calls lookup(relation) and returns the cached value, if any.
 Expression AbstractReplacer.visit(UnaryExpression unaryExpr)
          Calls lookup(unaryExpr) and returns the cached value, if any.
 Expression AbstractReplacer.visit(Variable variable)
          Calls lookup(variable) and returns the cached value, if any.
 

Uses of Expression in kodkod.engine
 

Methods in kodkod.engine with parameters of type Expression
 TupleSet Evaluator.evaluate(Expression expression)
          Evaluates the specified expession with respect to the relation-tuple mappings given by this.instance and using this.options.
 

Uses of Expression in kodkod.engine.fol2sat
 

Methods in kodkod.engine.fol2sat with parameters of type Expression
static BooleanMatrix Translator.approximate(Expression expression, Bounds bounds, Options options)
          Overapproximates the value of the given expression using the provided bounds and options.
static BooleanMatrix Translator.evaluate(Expression expression, Instance instance, Options options)
          Evaluates the given expression to a BooleanMatrix using the provided instance and options.