ExogenousContract

class scml.scml2020.ExogenousContract(product, quantity, unit_price, time, revelation_time, seller=- 1, buyer=- 1)[source]

Bases: object

Represents a contract to be revealed at revelation_time to buyer and seller between them that is not agreed upon through negotiation but is endogenously given

Attributes Summary

buyer

Buyer index in the agents array (-1 means “system”)

seller

Seller index in the agents array (-1 means “system”)

Attributes Documentation

buyer: int = -1

Buyer index in the agents array (-1 means “system”)

seller: int = -1

Seller index in the agents array (-1 means “system”)