SCMLAgreement

class scml.scml2019.SCMLAgreement(time, unit_price, quantity, penalty=None, signing_delay=-1)[source]

Bases: negmas.outcomes.OutcomeType

Attributes Summary

penalty

penalty

signing_delay

Delay between agreement conclusion and signing it to be binding

Methods Summary

asdict()

Converts the outcome to a dict containing all fields

astuple()

Converts the outcome to a tuple where the order of items is the same as they are defined as fields

get(name[, default])

Acts like dict.get

keys()

rtype

List[str]

values()

rtype

List[str]

Attributes Documentation

penalty = None

penalty

signing_delay = -1

Delay between agreement conclusion and signing it to be binding

Methods Documentation

asdict()

Converts the outcome to a dict containing all fields

astuple()

Converts the outcome to a tuple where the order of items is the same as they are defined as fields

get(name, default=None)

Acts like dict.get

keys()
Return type

List[str]

values()
Return type

List[str]