Package org.opt4j.core.domination
Interface ConstraintChecker
-
- All Known Implementing Classes:
ConstraintCheckerImpl
public interface ConstraintCheckerInterface for constraint checks ofObjectives.- See Also:
Constraint,ConstraintDomination
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetConstraintViolation(Objectives o)Calculates the constraint violation ofObjectives.booleanisFeasible(Objectives o)Checks, ifObjectivesis feasible.
-
-
-
Method Detail
-
isFeasible
boolean isFeasible(Objectives o)
Checks, ifObjectivesis feasible.- Parameters:
o- the objectives to check- Returns:
- the feasibility
-
getConstraintViolation
double getConstraintViolation(Objectives o)
Calculates the constraint violation ofObjectives.- Parameters:
o- the objectives to check- Returns:
- the amount of constraint violation
-
-