|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.solver.Problem
Problem is the primary class for holding the user's problem information.
| Field Summary | |
protected java.util.List |
constraintList
Deprecated. |
protected Evaluator |
evaluator
Deprecated. |
protected java.util.List |
hintList
Deprecated. |
protected java.util.List |
objectiveList
Deprecated. |
protected java.util.List |
variableList
Deprecated. |
| Constructor Summary | |
Problem()
Deprecated. Creates a new instance of Problem |
|
| Method Summary | |
void |
addConstraint(Constraint aConstraint)
Deprecated. Add a Constraint object to constraintList. |
void |
addHint(Hint aHint)
Deprecated. Add a Hint object to the hintList. |
void |
addObjective(Objective anObjective)
Deprecated. Adds an Objective to objectiveList. |
void |
addVariable(Variable aVariable)
Deprecated. Adds a Variable object to variableList. |
java.util.List |
getConstraints()
Deprecated. Get the list of constraints. |
java.util.List |
getHints()
Deprecated. Get the list of hints. |
java.util.List |
getObjectives()
Deprecated. Get the list of objectives. |
java.util.List |
getVariables()
Deprecated. Get the list of variables. |
void |
setEvaluator(Evaluator anEvaluator)
Deprecated. Set the evaluator to use in scoring the trial points. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List objectiveList
protected java.util.List variableList
protected java.util.List constraintList
protected java.util.List hintList
protected Evaluator evaluator
| Constructor Detail |
public Problem()
| Method Detail |
public void addObjective(Objective anObjective)
anObjective - The objective of the problem.public java.util.List getObjectives()
public void addVariable(Variable aVariable)
aVariable - A single variable of the problem.public java.util.List getVariables()
public void addConstraint(Constraint aConstraint)
aConstraint - One constraint of the problem.public java.util.List getConstraints()
public void addHint(Hint aHint)
aHint - One hint for the problem.public java.util.List getHints()
public void setEvaluator(Evaluator anEvaluator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||