Package xal.extension.solver.constraint
Class Constraint
java.lang.Object
xal.extension.solver.constraint.Constraint
Constraint is the class which holds the users' constraint.
- Author:
- ky6
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constraint
(String aName) Creates a new instance of Constraint -
Method Summary
-
Field Details
-
name
-
-
Constructor Details
-
Constraint
Creates a new instance of Constraint- Parameters:
aName
- The name of the constraint.
-
-
Method Details
-
validate
Used to validate whether a trial is valid.- Parameters:
trial
- The trial to be validated.- Returns:
- A trial veto.
-