AllAcceptEvaluationStrategy

class negmas.gb.AllAcceptEvaluationStrategy(strategies)[source]

Bases: EvaluationStrategy

Methods Summary

__call__(*args, **kwargs)

Base class for evaluation strategies

Methods Documentation

__call__(*args, **kwargs)[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

Return type:

Union[tuple, None, Literal['continue']]

Returns:

GBResponse