IntegerConstraintSet#
- class ioh.iohcpp.IntegerConstraintSet(self: ioh.iohcpp.IntegerConstraintSet, constraints: List[ioh.iohcpp.AbstractIntegerConstraint] = [])#
Bases:
pybind11_object
A set of constraints
- Parameters:
constraints (list[Constraint]) – The list of constraints
Methods Summary
Methods Documentation
- add(self: ioh.iohcpp.IntegerConstraintSet, arg0: ioh.iohcpp.AbstractIntegerConstraint) None #
- n(self: ioh.iohcpp.IntegerConstraintSet) int #
- penalize(self: ioh.iohcpp.IntegerConstraintSet, arg0: float) float #
- penalty(self: ioh.iohcpp.IntegerConstraintSet) float #
- remove(self: ioh.iohcpp.IntegerConstraintSet, arg0: ioh.iohcpp.AbstractIntegerConstraint) None #
- violation(self: ioh.iohcpp.IntegerConstraintSet) float #