LocalEvaluationStrategy

class negmas.gb.LocalEvaluationStrategy[source]

Bases: EvaluationStrategy

Methods Summary

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

Base class for evaluation strategies

eval(negotiator_id, state, history, ...)

rtype:

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

Methods Documentation

__call__(negotiator_ids, state, history, active_thread)[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) – the current thread.

Return type:

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

abstract eval(negotiator_id, state, history, mechanism_state)[source]
Return type:

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