gov.sns.tools.solver
Class Problem

java.lang.Object
  |
  +--gov.sns.tools.solver.Problem

Deprecated. The optimization and optimizer packages have been replaced by the solver package.

public class Problem
extends java.lang.Object

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

objectiveList

protected java.util.List objectiveList
Deprecated. 

variableList

protected java.util.List variableList
Deprecated. 

constraintList

protected java.util.List constraintList
Deprecated. 

hintList

protected java.util.List hintList
Deprecated. 

evaluator

protected Evaluator evaluator
Deprecated. 
Constructor Detail

Problem

public Problem()
Deprecated. 
Creates a new instance of Problem

Method Detail

addObjective

public void addObjective(Objective anObjective)
Deprecated. 
Adds an Objective to objectiveList.

Parameters:
anObjective - The objective of the problem.

getObjectives

public java.util.List getObjectives()
Deprecated. 
Get the list of objectives.

Returns:
objectiveList.

addVariable

public void addVariable(Variable aVariable)
Deprecated. 
Adds a Variable object to variableList.

Parameters:
aVariable - A single variable of the problem.

getVariables

public java.util.List getVariables()
Deprecated. 
Get the list of variables.

Returns:
variableList The list of variables.

addConstraint

public void addConstraint(Constraint aConstraint)
Deprecated. 
Add a Constraint object to constraintList.

Parameters:
aConstraint - One constraint of the problem.

getConstraints

public java.util.List getConstraints()
Deprecated. 
Get the list of constraints.

Returns:
constraintList The list of constraints.

addHint

public void addHint(Hint aHint)
Deprecated. 
Add a Hint object to the hintList.

Parameters:
aHint - One hint for the problem.

getHints

public java.util.List getHints()
Deprecated. 
Get the list of hints.

Returns:
hintList The list of hints.

setEvaluator

public void setEvaluator(Evaluator anEvaluator)
Deprecated. 
Set the evaluator to use in scoring the trial points. The evaluator defines the problem we are trying to optimize.