NegDomain

class negmas.situated.NegDomain(name, issues, ufuns, partner_types, index=0, partner_params=None, roles=None, annotation=None)[source]

Bases: object

A representation of a negotiation domain in which a negotiator can be evaluated

Attributes Summary

annotation

Any extra annotation to add to the mechanism.

index

The index of the negotiator being evaluated in the list of negotiators passed to the mechanism

partner_params

Any paramters used to construct partners (must be the same length as partner_types)

roles

Roles of all negotiators (includng the negotiator being evaluated) in order

Methods Summary

from_dict(d)

to_dict()

Attributes Documentation

annotation: Dict[str, Any] | None = None

Any extra annotation to add to the mechanism.

index: int = 0

The index of the negotiator being evaluated in the list of negotiators passed to the mechanism

partner_params: tuple[Dict[str, Any] | None, ...] | None = None

Any paramters used to construct partners (must be the same length as partner_types)

roles: tuple[str, ...] | None = None

Roles of all negotiators (includng the negotiator being evaluated) in order

Methods Documentation

classmethod from_dict(d)[source]
to_dict()[source]