GraphConstraint#
- class ioh.iohcpp.problem.GraphConstraint#
Bases:
AbstractIntegerConstraint
Attributes Summary
Methods Summary
__call__
(self, arg0, arg1)compute_violation
(self, arg0)is_feasible
(self, arg0)penalize
(self, arg0)penalty
(self)violation
(self)Attributes Documentation
- enforced#
- exponent#
- weight#
Methods Documentation
- __call__(self: ioh.iohcpp.AbstractIntegerConstraint, arg0: List[int], arg1: float) float #
- compute_violation(self: ioh.iohcpp.AbstractIntegerConstraint, arg0: List[int]) bool #
- is_feasible(self: ioh.iohcpp.AbstractIntegerConstraint, arg0: List[int]) bool #
- penalize(self: ioh.iohcpp.AbstractIntegerConstraint, arg0: float) float #
- penalty(self: ioh.iohcpp.AbstractIntegerConstraint) float #
- violation(self: ioh.iohcpp.AbstractIntegerConstraint) float #