generate_issues
- negmas.outcomes.generate_issues(params: Sequence[int | list[str] | tuple[int, int] | Callable | tuple[float, float]], counts: list[int] | None = None, names: list[str] | None = None) tuple[Issue, ...][source]
Generates a set of issues with given parameters. Each is optionally repeated.
- Parameters:
params – The parameters of the issues
counts – The number of times to repeat each of the
issuesnames – The names to assign to the issues. If None, then string representations of integers starting from zero will be used.
- Returns:
The list of issues with given conditions
- Return type:
list[‘Issue’]