| Package | Description | 
|---|---|
| org.clafer.ast | 
 This package provides the language for building Clafer AST. 
 | 
| org.clafer.ast.analysis | 
 This package provides various analysis and optimizations to perform on the
 AST. 
 | 
| org.clafer.javascript | 
 This package provides classes for building Clafer models and invoking the
 solver via Javascript. 
 | 
| org.clafer.objective | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AstArithm
foldl1 op operands. 
 | 
class  | 
AstCard  | 
class  | 
AstConstant
A constant set. 
 | 
class  | 
AstDifference  | 
class  | 
AstDowncast  | 
class  | 
AstGlobal
All the Clafers of a type. 
 | 
class  | 
AstIntersection  | 
class  | 
AstJoin  | 
class  | 
AstJoinParent  | 
class  | 
AstJoinRef  | 
class  | 
AstLocal
A local is a binding of a value to a name in quantifiers. 
 | 
class  | 
AstMinus  | 
class  | 
AstSum  | 
class  | 
AstTernary  | 
class  | 
AstThis
Do NOT reuse for different expressions. 
 | 
class  | 
AstUnion  | 
class  | 
AstUpcast  | 
| Constructor and Description | 
|---|
AstCard(AstSetExpr set)  | 
AstDecl(boolean disjoint,
              AstLocal[] locals,
              AstSetExpr body)  | 
AstDifference(AstSetExpr left,
                          AstSetExpr right)  | 
AstIntersection(AstSetExpr left,
                              AstSetExpr right)  | 
AstJoinParent(AstSetExpr children)  | 
AstUnion(AstSetExpr left,
                AstSetExpr right)  | 
| Modifier and Type | Method and Description | 
|---|---|
AstSetExpr | 
Analysis.getExpr(Objective objective)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Objective,AstSetExpr> | 
Analysis.getObjectiveExprs()  | 
| Modifier and Type | Method and Description | 
|---|---|
Analysis | 
Analysis.setObjectiveExprs(Map<Objective,AstSetExpr> objectiveExprs)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
JavascriptContext.addMaximizeObjective(AstSetExpr expr)  | 
void | 
JavascriptContext.addMinimizeObjective(AstSetExpr expr)  | 
| Modifier and Type | Method and Description | 
|---|---|
AstSetExpr | 
Objective.getExpr()
Returns the expression to optimize. 
 | 
| 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.