DiscreteAcceptanceModel

class negmas.modeling.acceptance.DiscreteAcceptanceModel(outcomes: Collection[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]])[source]

Bases: abc.ABC

Methods Summary

acceptance_probabilities()

probability_of_acceptance(outcome)

probability_of_acceptance_indx(outcome_index)

update_accepted(outcome)

update_offered(outcome)

update_offered_indx(outcome_index)

update_rejected(outcome)

update_rejected_indx(outcome_index)

Methods Documentation

acceptance_probabilities()numpy.ndarray[source]
probability_of_acceptance(outcome: Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]])[source]
abstract probability_of_acceptance_indx(outcome_index: int)float[source]
update_accepted(outcome)[source]
update_offered(outcome)[source]
abstract update_offered_indx(outcome_index: int)[source]
update_rejected(outcome: Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]])[source]
abstract update_rejected_indx(outcome_index: int)[source]