UniqueOffers

class negmas.gb.UniqueOffers[source]

Bases: LocalOfferingConstraint

Methods Summary

__call__(state, history)

Base class for all offering constaints

eval_globally(source, state, history)

Methods Documentation

__call__(state: ThreadState, history: list[ThreadState]) bool[source]

Base class for all offering constaints

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

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

Returns:

bool

eval_globally(source: str, state: GBState, history: list[GBState])