| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
AstSetExpr | 
getExpr()
Returns the expression to optimize. 
 | 
int | 
hashCode()  | 
boolean | 
isMaximize()
Check if this objective is a maximization objective. 
 | 
boolean | 
isMinimize()
Check if this objective is a minimization objective. 
 | 
static Objective | 
maximize(AstSetExpr expression)
Create a new maximization objective. 
 | 
static Objective | 
minimize(AstSetExpr expression)
Create a new minimization objective. 
 | 
String | 
toString()  | 
public boolean isMaximize()
true if the objective is to maximize the expression,
 false otherwisepublic boolean isMinimize()
true if the objective is to minimize the expression,
 false otherwisepublic AstSetExpr getExpr()
public static Objective maximize(AstSetExpr expression)
expression - the expressionpublic static Objective minimize(AstSetExpr expression)
expression - the expressionCopyright © 2013. All Rights Reserved.