PassThroughNegotiator

class negmas.negotiators.PassThroughNegotiator(name: str = None, ufun: Optional[UtilityFunction] = None, parent: Controller = None, owner: Agent = None, id: str = None)[source]

Bases: negmas.negotiators.Negotiator

A negotiator that can be used to pass all method calls to a parent (Controller).

It uses magic dunder methods to implement a general way of passing calls to the parent. This method is slow.

It is recommended to implement a PassThrough*Negotiator for each mechanism that does this passing explicitly which will be much faster.

For an example, see the implementation of PassThroughSAONegotiator .