enumerate_outcomes

negmas.outcomes.enumerate_outcomes(issues: Iterable[negmas.outcomes.Issue], keep_issue_names=None, astype=<class 'dict'>)Optional[Union[List[Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]], Dict[str, Union[negmas.outcomes.OutcomeType, Tuple[Union[int, float, str, list]], Dict[Union[int, str], Union[int, float, str, list]]]]]][source]

Enumerates all outcomes of this set of issues if possible

Parameters
  • issues – A list of issues

  • keep_issue_names – DEPRECTED. use astype instead

  • astype – The type to use for returning outcomes. Can be tuple, dict or any OutcomeType

Returns

list of outcomes