| Package | Description |
|---|---|
| org.clafer.ast.analysis |
This package provides various analysis and optimizations to perform on the
AST.
|
| org.clafer.ast.compiler |
This package provides a compiler to translate Clafer AST to IR.
|
| org.clafer.compiler |
This package provides a compiler from AST to Choco including algorithms for
solving optimal instances and max unsat.
|
| org.clafer.javascript |
This package provides classes for building Clafer models and invoking the
solver via Javascript.
|
| org.clafer.objective |
| Modifier and Type | Method and Description |
|---|---|
Map<Objective,AstSetExpr> |
Analysis.getObjectiveExprs() |
| Modifier and Type | Method and Description |
|---|---|
AstSetExpr |
Analysis.getExpr(Objective objective) |
| Modifier and Type | Method and Description |
|---|---|
static Analysis |
Analysis.analyze(AstModel model,
Scopable scope,
List<Objective> objectives,
Analyzer... analyzers) |
Analysis |
Analysis.setObjectiveExprs(Map<Objective,AstSetExpr> objectiveExprs) |
| Modifier and Type | Method and Description |
|---|---|
static AstSolutionMap |
AstCompiler.compile(AstModel in,
Scope scope,
Objective objective,
IrModule out,
Analyzer[] analyzers,
boolean fullSymmetryBreaking) |
static AstSolutionMap |
AstCompiler.compile(AstModel in,
Scope scope,
Objective objective,
IrModule out,
boolean fullSymmetryBreaking) |
IrIntVar |
AstSolutionMap.getObjectiveVar(Objective objective)
Returns the variable associated to the objective.
|
| Modifier and Type | Method and Description |
|---|---|
static ClaferOptimizer |
ClaferCompiler.compile(AstModel in,
Scopable scope,
Objective objective) |
static ClaferOptimizer |
ClaferCompiler.compile(AstModel in,
Scopable scope,
Objective objective,
ClaferOptions options) |
| Modifier and Type | Method and Description |
|---|---|
Objective[] |
JavascriptContext.getObjectives() |
| Modifier and Type | Method and Description |
|---|---|
static Objective |
Objective.maximize(AstSetExpr expression)
Create a new maximization objective.
|
static Objective |
Objective.minimize(AstSetExpr expression)
Create a new minimization objective.
|
Copyright © 2013. All Rights Reserved.