EvaluationStrategy

class negmas.gb.EvaluationStrategy[source]

Bases: ABC

Methods Summary

__call__(negotiator_ids, state, history, ...)

Base class for evaluation strategies

Methods Documentation

abstractmethod __call__(negotiator_ids: list[str], state: GBState, history: list[GBState], active_thread: int | None) tuple | None | Literal['continue'][source]

Base class for evaluation strategies

Parameters:
  • negotiator_ids (list[str]) – List of negotiator IDs (in the same order as threads)

  • state (GBState) – Current state of the mechanism

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

  • active_thread (int | None) – If integer, the current thread (used for local evaluators). Global evaluators

Returns:

GBResponse