NoResponsesMixin

class negmas.situated.NoResponsesMixin[source]

Bases: object

A mixin that can be added to Agent to minimize the number of abstract methods

Methods Summary

on_contract_breached(contract, breaches, …)

on_contract_cancelled(contract, rejectors)

on_contract_executed(contract)

on_contract_signed(contract)

on_neg_request_accepted(req_id, mechanism)

on_neg_request_rejected(req_id, by)

on_negotiation_failure(partners, annotation, …)

on_negotiation_success(contract, mechanism)

respond_to_renegotiation_request(contract, …)

set_renegotiation_agenda(contract, breaches)

Methods Documentation

on_contract_breached(contract: negmas.situated.Contract, breaches: List[negmas.situated.Breach], resolution: Optional[negmas.situated.Contract])None[source]
on_contract_cancelled(contract: negmas.situated.Contract, rejectors: List[str])None[source]
on_contract_executed(contract: negmas.situated.Contract)None[source]
on_contract_signed(contract: negmas.situated.Contract)bool[source]
on_neg_request_accepted(req_id: str, mechanism: negmas.common.AgentMechanismInterface)[source]
on_neg_request_rejected(req_id: str, by: Optional[List[str]])[source]
on_negotiation_failure(partners: List[str], annotation: Dict[str, Any], mechanism: negmas.common.AgentMechanismInterface, state: negmas.common.MechanismState)None[source]
on_negotiation_success(contract: negmas.situated.Contract, mechanism: negmas.common.AgentMechanismInterface)None[source]
respond_to_renegotiation_request(contract: negmas.situated.Contract, breaches: List[negmas.situated.Breach], agenda: negmas.situated.RenegotiationRequest)Optional[negmas.negotiators.Negotiator][source]
set_renegotiation_agenda(contract: negmas.situated.Contract, breaches: List[negmas.situated.Breach])Optional[negmas.situated.RenegotiationRequest][source]