RealConstraint ============== .. currentmodule:: ioh.iohcpp .. autoclass:: RealConstraint :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~RealConstraint.enforced ~RealConstraint.exponent ~RealConstraint.weight .. rubric:: Methods Summary .. autosummary:: ~RealConstraint.__call__ ~RealConstraint.compute_violation ~RealConstraint.is_feasible ~RealConstraint.penalize ~RealConstraint.penalty ~RealConstraint.violation .. rubric:: Attributes Documentation .. autoattribute:: enforced .. autoattribute:: exponent .. autoattribute:: weight .. rubric:: Methods Documentation .. automethod:: __call__ .. automethod:: compute_violation .. automethod:: is_feasible .. automethod:: penalize .. automethod:: penalty .. automethod:: violation