AnyOfferingConstraint

class negmas.gb.AnyOfferingConstraint(constraints)[source]

Bases: OfferingConstraint

Attributes Summary

constraints

Methods Summary

__call__(*args, **kwargs)

Base class for all offering constaints

Attributes Documentation

constraints: list[OfferingConstraint]

Methods Documentation

__call__(*args, **kwargs)[source]

Base class for all offering constaints

Parameters:
  • offer (Outcome) – Outcome to be checked for validity

  • history (list[GBState]) – History of past states

Return type:

bool

Returns:

bool