Package | Description |
---|---|
org.clafer.ast.compiler |
This package provides a compiler to translate Clafer AST to IR.
|
org.clafer.ir |
This package provides the IR used as in intermediate language during
compilation.
|
org.clafer.ir.compiler |
This package provides a compiler to translate IR to Choco.
|
Modifier and Type | Method and Description |
---|---|
IrBoolVar |
AstSolutionMap.getSoftVar(AstConstraint constraint)
Returns the soft variable associated to the constraint.
|
IrBoolVar[] |
AstSolutionMap.getSoftVars() |
Modifier and Type | Method and Description |
---|---|
Map<AstConstraint,IrBoolVar> |
AstSolutionMap.getSoftVarsMap() |
Modifier and Type | Class and Description |
---|---|
class |
IrBoolConstant |
Modifier and Type | Field and Description |
---|---|
static IrBoolVar |
Irs.False |
static IrBoolVar |
Irs.True
Boolean
|
Modifier and Type | Method and Description |
---|---|
static IrBoolVar |
IrUtil.asConstant(IrBoolVar b) |
static IrBoolVar |
Irs.bool(String name) |
static IrBoolVar |
Irs.constant(boolean value) |
IrBoolVar |
IrRewriter.visit(IrBoolVar ir,
T a) |
Modifier and Type | Method and Description |
---|---|
static IrBoolVar |
IrUtil.asConstant(IrBoolVar b) |
B |
IrBoolExprVisitorAdapter.visit(IrBoolVar ir,
A a) |
B |
IrBoolExprVisitor.visit(IrBoolVar ir,
A a) |
IrBoolVar |
IrRewriter.visit(IrBoolVar ir,
T a) |
Modifier and Type | Method and Description |
---|---|
boolean |
IrSolutionMap.getBoolValue(IrBoolVar var) |
boolean[] |
IrSolutionMap.getBoolValues(IrBoolVar... vars) |
Either<Boolean,solver.variables.BoolVar> |
IrSolutionMap.getBoolVar(IrBoolVar var) |
Either<Boolean,solver.variables.BoolVar>[] |
IrSolutionMap.getBoolVars(IrBoolVar... vars) |
Copyright © 2013. All Rights Reserved.