RangeConstraint
- class negmas.elicitation.RangeConstraint(rng=(None, None), full_range=(0.0, 1.0), outcomes=None, eps=1e-05)[source]
Bases:
negmas.elicitation.queries.Constraint
Constraints the utility of each of the given outcomes to lie within the given range
Methods Summary
is_satisfied
(preferences[, outcomes])Whether or not the constraint is satisfied.
marginal
(outcome)- rtype
marginals
([outcomes])- rtype
Methods Documentation
- is_satisfied(preferences, outcomes=None)[source]
Whether or not the constraint is satisfied.
- Return type