MechanismRoundResult
- class negmas.mechanisms.MechanismRoundResult(broken=False, timedout=False, agreement=None, error=False, error_details='', waiting=False, exceptions=None, times=None)[source]
Bases:
object
Represents the results of a negotiation round (step). This is what
round()
should return.Attributes Summary
The agreement if any.
True only if END_NEGOTIATION was selected by one agent
True if an error occurred in the mechanism
Error message
A mapping from negotiator ID to a list of exceptions raised by that negotiator in this round
True if a timeout occurred.
A mapping from negotiator ID to the time it consumed during this round
whether to consider that the round is still running and call the round method again without increasing the step number
Attributes Documentation
- agreement: Optional[Union[Collection[tuple], tuple]] = None
The agreement if any. Allows for a single outcome or a collection of outcomes
- exceptions: Optional[dict[str, list[str]]] = None
A mapping from negotiator ID to a list of exceptions raised by that negotiator in this round