Contract
- class negmas.situated.Contract(agreement: dict[str, Any] = NOTHING, partners=NOTHING, annotation: dict[str, Any] = NOTHING, issues=NOTHING, signed_at: int = -1, executed_at: int = -1, concluded_at: int = -1, nullified_at: int = -1, to_be_signed_at: int = -1, signatures: dict[str, str | None] = NOTHING, mechanism_state: MechanismState | None = None, mechanism_id: str | None = None, id: str = NOTHING)[source]
Bases:
objectA agreement definition which encapsulates an agreement with partners and extra information
Attributes Summary
The actual agreement of the negotiation in the form of an
Outcomein theIssuespace defined byissuesMisc.
The time-step at which the contract was concluded (but it is still not binding until signed)
The time-step at which the contract was executed/breached
Object name
Issues of the negotiations from which this agreement was concluded.
The Id of the mechanism that led to this contract
The mechanism state at the contract conclusion
The time-step at which the contract was nullified after being signed.
The partners
A mapping from each agent to its signature
The time-step at which the contract was signed
The time-step at which the contract should be signed
Attributes Documentation
- agreement: dict[str, Any]
The actual agreement of the negotiation in the form of an
Outcomein theIssuespace defined byissues
- concluded_at: int
The time-step at which the contract was concluded (but it is still not binding until signed)
- issues: tuple[Issue]
Issues of the negotiations from which this agreement was concluded. It may be empty
- mechanism_state: MechanismState | None
The mechanism state at the contract conclusion