SAORandomController

class negmas.sao.SAORandomController(*args, p_acceptance: float = 0.1, **kwargs)[source]

Bases: negmas.sao.SAOController

A controller that returns random offers.

Parameters

p_acceptance – The probability of accepting an offer.

Methods Summary

propose(negotiator_id, state)

respond(negotiator_id, state, offer)

Methods Documentation

propose(negotiator_id: str, 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]
respond(negotiator_id: str, 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]