LimitedOutcomesMixin

class negmas.sao.LimitedOutcomesMixin[source]

Bases: negmas.sao.LimitedOutcomesAcceptorMixin, negmas.sao.LimitedOutcomesProposerMixin

A mixin that adds the ability to propose and respond a limited set of outcomes.

Methods Summary

init_limited_outcomes([acceptable_outcomes, …])

Initializes the mixin.

Methods Documentation

init_limited_outcomes(acceptable_outcomes: Optional[Iterable[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]]] = None, acceptance_probabilities: Optional[Union[float, List[float]]] = None, proposable_outcomes: Optional[Iterable[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]]] = None, p_ending=0.0, p_no_response=0.0)None[source]

Initializes the mixin.

Parameters
  • acceptable_outcomes – the set of acceptable outcomes. If None then it is assumed to be all the outcomes of the negotiation.

  • acceptance_probabilities – probability of accepting each acceptable outcome. If None then it is assumed to be unity.

  • proposable_outcomes – the set of outcomes from which the agent is allowed to propose. If None, then it is the same as acceptable outcomes with nonzero probability

  • p_no_response – probability of refusing to respond to offers

  • p_ending – probability of ending negotiation