Uses of Class
org.clafer.assertion.Assertion
Packages that use Assertion
Package
Description
This package provides the language for building Clafer AST.
This package provides various analysis and optimizations to perform on the
AST.
This package provides a compiler to translate Clafer AST to IR.
This package provides a compiler from AST to Choco including algorithms for
solving optimal instances and max unsat.
This package provides classes for building Clafer models and invoking the
solver via Javascript.
-
Uses of Assertion in org.clafer.ast
Methods in org.clafer.ast that return AssertionModifier and TypeMethodDescriptionToAst.Result.assertions()Returns the value of theassertionsrecord component.Methods in org.clafer.ast with parameters of type AssertionModifier and TypeMethodDescriptionstatic StringPrints a model with its objectives and assertions, as an explicit model:AstPrinter.ExplicitHeader, then the model.Constructors in org.clafer.ast with parameters of type Assertion -
Uses of Assertion in org.clafer.ast.analysis
Methods in org.clafer.ast.analysis that return AssertionMethods in org.clafer.ast.analysis that return types with arguments of type AssertionMethods in org.clafer.ast.analysis with parameters of type AssertionMethod parameters in org.clafer.ast.analysis with type arguments of type AssertionModifier and TypeMethodDescriptionAnalysis.setAssertionExprs(Map<Assertion, AstBoolExpr> assertionExprs) -
Uses of Assertion in org.clafer.ast.compiler
Methods in org.clafer.ast.compiler with parameters of type AssertionModifier and TypeMethodDescriptionstatic AstSolutionMapAstCompiler.compile(AstModel in, Scope scope, Assertion[] assertions, IrModule out, boolean fullSymmetryBreaking) static AstSolutionMapAstCompiler.compile(AstModel in, Scope scope, Assertion[] assertions, IrModule out, Analyzer[] analyzers, boolean fullSymmetryBreaking) AstSolutionMap.getAssertionVar(Assertion assertion) Returns the variable associated to the assertion. -
Uses of Assertion in org.clafer.compiler
Methods in org.clafer.compiler that return AssertionMethods in org.clafer.compiler with parameters of type AssertionModifier and TypeMethodDescriptionstatic ClaferAsserterstatic ClaferAsserterClaferCompiler.compile(AstModel in, Scopable scope, Assertion[] assertions, ClaferOption options) Constructor parameters in org.clafer.compiler with type arguments of type AssertionModifierConstructorDescriptionClaferAsserter(org.chocosolver.solver.Solver solver, ClaferSolutionMap solutionMap, Map<Assertion, Either<Boolean, org.chocosolver.solver.variables.BoolVar>> assertions) -
Uses of Assertion in org.clafer.javascript
Methods in org.clafer.javascript that return AssertionModifier and TypeMethodDescriptionJavascriptContext.getAssertions()JavascriptFile.getAssertions()Constructors in org.clafer.javascript with parameters of type AssertionModifierConstructorDescriptionJavascriptFile(AstModel model, Scope scope, ClaferOption option, Objective[] objectives, Assertion[] assertions) JavascriptFile(AstModel model, Scope scope, ClaferOption option, Objective[] objectives, Assertion[] assertions, boolean hasIntRange)