RangeConstraint
- class negmas.elicitation.RangeConstraint(rng=(None, None), full_range=(0.0, 1.0), outcomes=None, eps=1e-05)[source]
Bases:
ConstraintConstraints 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:
ScipyDistribution
marginals([outcomes])- rtype:
list[ScipyDistribution]
Methods Documentation