gov.sns.tools.solver.constraint
Class Constraint

java.lang.Object
  |
  +--gov.sns.tools.solver.constraint.Constraint

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

public abstract class Constraint
extends java.lang.Object

Constraint is the class which holds the users's constraint.


Field Summary
protected  java.lang.String name
          Deprecated.  
 
Constructor Summary
Constraint(java.lang.String aName)
          Deprecated. Creates a new instance of Constraint
 
Method Summary
abstract  TrialVeto validate(Trial trial)
          Deprecated. Used to validate whether a trial is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Deprecated. 
Constructor Detail

Constraint

public Constraint(java.lang.String aName)
Deprecated. 
Creates a new instance of Constraint

Method Detail

validate

public abstract TrialVeto validate(Trial trial)
Deprecated. 
Used to validate whether a trial is valid.

Parameters:
trial - The trial to be validated.
Returns:
A trial veto.