MarginalNeutralConstraint

class negmas.elicitation.MarginalNeutralConstraint(full_range: Union[Sequence[Tuple[float, float]], Tuple[float, float]] = (0.0, 1.0), outcomes: Optional[List[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]]] = None)[source]

Bases: negmas.elicitation.Constraint

Constraints that do not affect the marginals of any outcomes. These constraints may only affect the joint distribution.

Methods Summary

marginal(outcome)

marginals([outcomes])

Methods Documentation

marginal(outcome: Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]])negmas.helpers.Distribution[source]
marginals(outcomes: Optional[Iterable[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]]] = None)List[negmas.helpers.Distribution][source]