Breach
- class negmas.situated.Breach(contract: Contract, perpetrator: str, type: str, victims: list[str] = NOTHING, level: float = 1.0, step: int = -1, id: str = NOTHING)[source]
Bases:
objectAttributes Summary
The agreement being breached
Object name
Breach level defaulting to full breach (a number between 0 and 1)
ID of the agent committing the breach
The simulation step at which the breach occurred
refusal,product,money,penalty.Specific victims of the breach.
Methods Summary
as_dict()Attributes Documentation
- victims: list[str]
Specific victims of the breach. If not given all partners in the agreement (except perpetrator) are considered victims
Methods Documentation