Package org.opt4j.core.domination
Interface ConstraintChecker
-
- All Known Implementing Classes:
ConstraintCheckerImpl
public interface ConstraintChecker
Interface for constraint checks ofObjectives
.- See Also:
Constraint
,ConstraintDomination
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getConstraintViolation(Objectives o)
Calculates the constraint violation ofObjectives
.boolean
isFeasible(Objectives o)
Checks, ifObjectives
is feasible.
-
-
-
Method Detail
-
isFeasible
boolean isFeasible(Objectives o)
Checks, ifObjectives
is 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
-
-