Package org.opt4j.core.domination
Interface ConstraintChecker
- All Known Implementing Classes:
ConstraintCheckerImpl
public interface ConstraintChecker
Interface for constraint checks of
Objectives.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoubleCalculates the constraint violation ofObjectives.booleanChecks, ifObjectivesis feasible.
-
Method Details
-
isFeasible
Checks, ifObjectivesis feasible.- Parameters:
o- the objectives to check- Returns:
- the feasibility
-
getConstraintViolation
Calculates the constraint violation ofObjectives.- Parameters:
o- the objectives to check- Returns:
- the amount of constraint violation
-