NegDomain

class negmas.situated.NegDomain(name: str, issues: List[negmas.outcomes.Issue], ufuns: List[negmas.utilities.UtilityFunction], partner_types: List[Union[str, negmas.negotiators.Negotiator]], index: int = 0, partner_params: Optional[List[Optional[Dict[str, Any]]]] = None, roles: Optional[List[str]] = None, annotation: Optional[Dict[str, Any]] = 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: Optional[Dict[str, Any]] = 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: Optional[List[Optional[Dict[str, Any]]]] = None

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

roles: Optional[List[str]] = None

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

Methods Documentation

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