public class SatisfactionConstraint extends Constraint
Constraint
and an additional attribute specifying the objective it refers to.
Semantically, a individual violating this constraint is considered unsatisfactory.
The constraint can be seen as a goal for an objective that is wanted to be reached.Constraint,
Constraints,
InfeasibilityConstraintConstraint.Direction| Constructor and Description |
|---|
SatisfactionConstraint(String name,
Constraint.Direction direction,
double limit,
Objective objective) |
| Modifier and Type | Method and Description |
|---|---|
Objective |
getObjective() |
compareTo, getDirection, getLimit, toStringpublic SatisfactionConstraint(String name, Constraint.Direction direction, double limit, Objective objective)
public Objective getObjective()