RangeConstraint
- class negmas.elicitation.RangeConstraint(rng: tuple = (None, None), full_range: Sequence[tuple[float, float]] | tuple[float, float] = (0.0, 1.0), outcomes: list[tuple] = 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)marginals([outcomes])Methods Documentation