Condition
- class negmas.situated.Condition(name, issues, ufuns, partner_types, index=0, partner_params=None, roles=None, annotation=None, scored_indices=None)[source]
Bases:
object
A representation of a negotiation scenario in which a negotiator can be evaluated
Attributes Summary
Any extra annotation to add to the mechanism.
The index of the negotiator being evaluated in the list of negotiators passed to the mechanism
Any parameters used to construct partners (must be the same length as
partner_types
)Roles of all negotiators (including the negotiator being evaluated) in order
Indices of negotiators to be scored in this negotiation.
Methods Summary
from_dict
(d)to_dict
()Attributes Documentation
-
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 parameters used to construct partners (must be the same length as
partner_types
)
-
roles:
tuple
[str
,...
] |None
= None Roles of all negotiators (including the negotiator being evaluated) in order
-
scored_indices:
tuple
[int
,...
] |None
= None Indices of negotiators to be scored in this negotiation.
None
is equivalent to[self.index]
Methods Documentation
-
index: