AdaptiveDiscreteAcceptanceModel

class negmas.modeling.acceptance.AdaptiveDiscreteAcceptanceModel(outcomes: Collection[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]], n_negotiators: int = 2, prob: Union[float, List[float]] = 0.5, end_prob=0.0, p_accept_after_reject=0.0, p_reject_after_accept=0.0, rejection_discount=0.98, rejection_delta=0.0, not_offering_rejection_ratio=0.75)[source]

Bases: negmas.modeling.acceptance.DiscreteAcceptanceModel

Methods Summary

acceptance_probabilities()

Probability of acceptance for all outcomes

from_negotiation(ami[, prob, end_prob, …])

probability_of_acceptance_indx(outcome_index)

update_offered_indx(outcome_index)

update_rejected_indx(outcome_index)

Methods Documentation

acceptance_probabilities()[source]

Probability of acceptance for all outcomes

classmethod from_negotiation(ami: negmas.common.AgentMechanismInterface, prob: Union[float, list] = 0.5, end_prob=0.0, p_accept_after_reject=0.0, p_reject_after_accept=0.0)negmas.modeling.acceptance.AdaptiveDiscreteAcceptanceModel[source]
probability_of_acceptance_indx(outcome_index: int)float[source]
update_offered_indx(outcome_index: int)[source]
update_rejected_indx(outcome_index: int)[source]