scml.std.sysagents
Classes
Implements an agent for handling system operations |
|
The base class of all agents running in Std based on StdAgent. |
Module Contents
- class scml.std.sysagents._StdSystemAgent(*args, role, **kwargs)[source]
Bases:
DefaultOneShotAdapterImplements an agent for handling system operations
- id
The unique ID of this entity
- name
A convenient name of the entity (intended primarily for printing/logging/debugging).
- profile = None
- property type_name
Returns a short name of the type of this entity
- property short_type_name
Returns a short name of the type of this entity
- respond_to_negotiation_request(initiator: str, issues: list[negmas.Issue], annotation: dict[str, Any], mechanism: negmas.NegotiatorMechanismInterface) negmas.Negotiator | None[source]
- on_negotiation_failure(partners: list[str], annotation: dict[str, Any], mechanism: negmas.NegotiatorMechanismInterface, state: negmas.MechanismState) None[source]
Called whenever a negotiation ends without agreement
- class scml.std.sysagents.DefaultStdAdapter(*args, **kwargs)[source]
Bases:
scml.oneshot.sysagents.DefaultOneShotAdapterThe base class of all agents running in Std based on StdAgent.
Remarks:
It inherits from
Adapterallowing it to just pass any calls not defined explicity in it to the internal_objobject representing the StdAgent.