| 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.analysis | 
 This package provides various analysis and optimizations to perform on the
 IR. 
 | 
| org.clafer.ir.compiler | 
 This package provides a compiler to translate IR to Choco. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IrIntVar | 
AstSolutionMap.getObjectiveVar(Objective objective)
Returns the variable associated to the objective. 
 | 
IrIntVar[] | 
AstSolutionMap.getRefVars(AstRef ref)
Returns the reference variables associated to the reference. 
 | 
IrIntVar | 
AstSolutionMap.getSumSoftVar()
Returns the variable equal to the sum of the soft variables. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
IrBoolConstant  | 
class  | 
IrBoolVar  | 
class  | 
IrIntConstant  | 
| Modifier and Type | Field and Description | 
|---|---|
static IrIntVar | 
Irs.One  | 
static IrIntVar | 
Irs.Zero
Integer 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static IrIntVar | 
IrUtil.asConstant(IrIntVar i)  | 
static IrIntVar | 
Irs.boundInt(String name,
                int low,
                int high)  | 
static IrIntVar | 
Irs.constant(int value)  | 
static IrIntVar | 
Irs.domainInt(String name,
                  IrDomain domain)  | 
static IrIntVar | 
Irs.enumInt(String name,
              int[] values)  | 
IrIntVar | 
IrRewriter.visit(IrIntVar ir,
          T a)  | 
| Modifier and Type | Method and Description | 
|---|---|
static IrIntVar | 
IrUtil.asConstant(IrIntVar i)  | 
B | 
IrIntExprVisitor.visit(IrIntVar ir,
          A a)  | 
IrIntVar | 
IrRewriter.visit(IrIntVar ir,
          T a)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Triple<Map<IrIntVar,IrIntVar>,Map<IrSetVar,IrSetVar>,IrModule> | 
Coalescer.coalesce(IrModule module)  | 
static Triple<Map<IrIntVar,IrIntVar>,Map<IrSetVar,IrSetVar>,IrModule> | 
Coalescer.coalesce(IrModule module)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
IrSolutionMap.getIntValue(IrIntVar var)  | 
int[] | 
IrSolutionMap.getIntValues(IrIntVar... vars)  | 
Either<Integer,solver.variables.IntVar> | 
IrSolutionMap.getIntVar(IrIntVar var)  | 
Either<Integer,solver.variables.IntVar>[] | 
IrSolutionMap.getIntVars(IrIntVar... vars)  | 
Copyright © 2013. All Rights Reserved.