dict2outcome
- negmas.outcomes.dict2outcome(d: dict[str, Any] | tuple | None, issues: tuple[str | Issue, ...]) Outcome | None[source]
Converts the outcome to a tuple no matter what was its type
- Parameters:
d – the dictionary to be converted
issues – A list of issues or issue names (as strings) to order the tuple
- Remarks:
If called with a tuple outcome, it will issue a warning