Breach

class negmas.situated.Breach(contract: negmas.situated.situated.Contract, perpetrator: str, type: str, victims: List[str] = <factory>, level: float = 1.0, step: int = -1, id: str = <factory>)[source]

Bases: object

Attributes Summary

level

Breach level defaulting to full breach (a number between 0 and 1)

step

The simulation step at which the breach occurred

Methods Summary

as_dict()

Attributes Documentation

level: float = 1.0

Breach level defaulting to full breach (a number between 0 and 1)

step: int = -1

The simulation step at which the breach occurred

Methods Documentation

as_dict()[source]