LimitedOutcomesAcceptor

class negmas.sao.LimitedOutcomesAcceptor(acceptable_outcomes: Optional[List[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]]] = None, acceptance_probabilities: Optional[List[float]] = None, p_ending=0.0, p_no_response=0.0, ufun=None, **kwargs)[source]

Bases: negmas.sao.LimitedOutcomesAcceptorMixin, negmas.sao.SAONegotiator

A negotiation agent that uses a fixed set of outcomes in a single negotiation.

Remarks:
  • The ufun inputs to the constructor and join are ignored. A ufun will be generated that gives a utility equal to the probability of choosing a given outcome.

Methods Summary

propose(state)

Always refuses to propose

respond(state, offer)

Respond to an offer.

Methods Documentation

propose(state: negmas.common.MechanismState)Optional[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]][source]

Always refuses to propose

respond(state: negmas.common.MechanismState, offer: Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]])negmas.outcomes.ResponseType[source]

Respond to an offer.

Parameters

offer (Outcome) – offer being tested

Returns

The response to the offer

Return type

ResponseType