Uses of Class
kodkod.ast.Formula

Packages that use Formula
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.config Provides a mechanism for configuring the kodkod engine and for passing messages between the engine and the client. 
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. 
kodkod.engine.ucore Contains strategies for minimizing unsatisfiable cores generated by SAT provers. 
 

Uses of Formula in kodkod.ast
 

Subclasses of Formula in kodkod.ast
 class BinaryFormula
          A formula with two children.
 class ComparisonFormula
          A formula that compares two expressions, e.g.
 class ConstantFormula
          A constant formula, true or false.
 class IntComparisonFormula
          An integer comparison formula, e.g.
 class MultiplicityFormula
          A multiplicity formula, e.g.
 class NotFormula
          Negation of a formula.
 class QuantifiedFormula
          A quantified formula.
 class RelationPredicate
          Represents common predicates on relations; e.g.
static class RelationPredicate.Acyclic
          Represents the acyclic predicate.
static class RelationPredicate.Function
          Represents the function predicate.
static class RelationPredicate.TotalOrdering
          Represents the total ordering predicate.
 

Fields in kodkod.ast declared as Formula
static Formula Formula.FALSE
          Constant formula false
static Formula Formula.TRUE
          Constant formula true
 

Methods in kodkod.ast that return Formula
 Formula Relation.acyclic()
          Returns a formula stating that this relation is acyclic.
 Formula Formula.and(Formula formula)
          Returns the conjunction of this and the specified formula.
 Formula Expression.apply(Multiplicity mult)
          Returns the formula that results from applying the specified multiplicity to this expression.
 Formula IntExpression.compare(IntComparisonFormula.Operator op, IntExpression intexpr)
          Returns a formula comparing this and the given integer expression using the specified operatior.
 Formula Formula.compose(BinaryFormula.Operator op, Formula formula)
          Returns the composition of this and the specified formula 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.
 Formula IfIntExpression.condition()
          Returns the if-condition.
 Formula IfExpression.condition()
          Returns the if-condition.
 Formula Expression.eq(Expression expr)
          Returns the formula 'this = expr'.
 Formula IntExpression.eq(IntExpression intexpr)
          Returns a formula stating that the given int expression and this have the same value.
 Formula Formula.forAll(Decls decls)
          Returns a formula that represents a universal quantification of this formula over the given declarations.
 Formula QuantifiedFormula.formula()
          Returns this.formula.
 Formula NotFormula.formula()
          Returns this.formula.
 Formula Comprehension.formula()
           
 Formula Formula.forSome(Decls decls)
          Returns a formula that represents an existential quantification of this formula over the given declarations.
 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 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 Formula.iff(Formula formula)
          Returns a formula that equates this and the specified formula.
 Formula Formula.implies(Formula formula)
          Returns the implication of the specified formula by this.
 Formula Expression.in(Expression expr)
          Returns the formula 'this in expr'.
 Formula BinaryFormula.left()
          Returns the left child of this.
 Formula Expression.lone()
          Returns the formula 'lone this'.
 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).
 Formula Expression.no()
          Returns the formula 'no this'.
 Formula Formula.not()
          Returns the negation of this formula.
 Formula Expression.one()
          Returns the formula 'one this'.
 Formula Formula.or(Formula formula)
          Returns the conjunction of this and the specified formula.
 Formula Formula.quantify(QuantifiedFormula.Quantifier quantifier, Decls decls)
          Returns a quantification of this formula using the given quantifier over the specified declarations.
 Formula BinaryFormula.right()
          Returns the right child of this.
 Formula Expression.some()
          Returns the formula 'some this'.
abstract  Formula RelationPredicate.toConstraints()
          Turns this predicate into explicit constraiants.
 Formula RelationPredicate.Acyclic.toConstraints()
          Turns this predicate into explicit constraiants.
 Formula RelationPredicate.Function.toConstraints()
          Turns this predicate into explicit constraiants.
 Formula RelationPredicate.TotalOrdering.toConstraints()
          Turns this predicate into explicit constraiants.
 Formula Relation.totalOrder(Relation ordered, Relation first, Relation last)
          Returns a formula stating that this relation imposes a total ordering over the atoms in the set ordered, and that thet first and last elements in the ordering are given by the relations first and last.
 

Methods in kodkod.ast with parameters of type Formula
 Formula Formula.and(Formula formula)
          Returns the conjunction of this and the specified formula.
 Formula Formula.compose(BinaryFormula.Operator op, Formula formula)
          Returns the composition of this and the specified formula using the given binary operator.
 Formula Formula.iff(Formula formula)
          Returns a formula that equates this and the specified formula.
 Formula Formula.implies(Formula formula)
          Returns the implication of the specified formula by this.
 Formula Formula.or(Formula formula)
          Returns the conjunction of this and the specified formula.
 

Uses of Formula in kodkod.ast.visitor
 

Methods in kodkod.ast.visitor that return Formula
 Formula AbstractReplacer.visit(BinaryFormula binFormula)
          Calls lookup(binFormula) and returns the cached value, if any.
 Formula AbstractReplacer.visit(ComparisonFormula compFormula)
          Calls lookup(compFormula) and returns the cached value, if any.
 Formula AbstractReplacer.visit(ConstantFormula constant)
          Calls lookup(constant) and returns the cached value, if any.
 Formula AbstractReplacer.visit(IntComparisonFormula intComp)
          Calls lookup(intComp) and returns the cached value, if any.
 Formula AbstractReplacer.visit(MultiplicityFormula multFormula)
          Calls lookup(multFormula) and returns the cached value, if any.
 Formula AbstractReplacer.visit(NotFormula not)
          Calls lookup(binFormula) and returns the cached value, if any.
 Formula AbstractReplacer.visit(QuantifiedFormula quantFormula)
          Calls lookup(quantFormula) and returns the cached value, if any.
 Formula AbstractReplacer.visit(RelationPredicate pred)
          Calls lookup(pred) and returns the cached value, if any.
 

Uses of Formula in kodkod.engine
 

Methods in kodkod.engine that return types with arguments of type Formula
 java.util.Set<Formula> Proof.highLevelCore()
          Returns the unsatisfiable subset of the top-level conjunctions of this.formula as given by this.core().
 

Methods in kodkod.engine with parameters of type Formula
 boolean Evaluator.evaluate(Formula formula)
          Evaluates the specified formula with respect to the relation-tuple mappings given by this.instance and using this.options.
 Solution Solver.solve(Formula formula, Bounds bounds)
          Attempts to satisfy the given formula with respect to the specified bounds or prove the formula's unsatisfiability.
 Solution Solver.solve(Formula formula, Bounds bounds, Cost cost)
          Attempts to satisfy the given formula with respect to the specified bounds, while minimizing the specified cost function.
 java.util.Iterator<Solution> Solver.solveAll(Formula formula, Bounds bounds)
          Attempts to find all solutions to the given formula with respect to the specified bounds or to prove the formula's unsatisfiability.
 

Uses of Formula in kodkod.engine.config
 

Methods in kodkod.engine.config with parameters of type Formula
 void Reporter.translatingToBoolean(Formula formula, Bounds bounds)
          Reports that the analysis of the given (optimized) formula and bounds is in stage 3.
 void ConsoleReporter.translatingToBoolean(Formula formula, Bounds bounds)
           
 void AbstractReporter.translatingToBoolean(Formula formula, Bounds bounds)
           
 

Uses of Formula in kodkod.engine.fol2sat
 

Methods in kodkod.engine.fol2sat that return Formula
abstract  Formula TranslationLog.formula()
          Returns this.formula.
 

Methods in kodkod.engine.fol2sat with parameters of type Formula
static BooleanConstant Translator.evaluate(Formula formula, Instance instance, Options options)
          Evaluates the given formula to a BooleanConstant using the provided instance and options.
static Translation Translator.translate(Formula formula, Bounds bounds, Options options)
          Translates the given formula using the specified bounds and options.
 

Uses of Formula in kodkod.engine.ucore
 

Methods in kodkod.engine.ucore that return types with arguments of type Formula
static java.util.Set<Formula> StrategyUtils.topFormulas(Formula formula)
          Returns the top-level components of the given formula.
 

Methods in kodkod.engine.ucore with parameters of type Formula
static java.util.Set<Formula> StrategyUtils.topFormulas(Formula formula)
          Returns the top-level components of the given formula.