AgreementFunc#

class tangles.agreement.AgreementFunc(max_value: int)#

Interface for an agreement function.

Should be callable.

Note! Should have an attribute max_value, which should be returned when called with empty arguments.