generate_issues
- negmas.outcomes.generate_issues(params, counts=None, names=None)[source]
Generates a set of issues with given parameters. Each is optionally repeated.
- Parameters:
params (
Sequence[Union[int,list[str],tuple[int,int],Callable,tuple[float,float]]]) – The parameters of the issuescounts (
list[int] |None) – The number of times to repeat each of theissuesnames (
list[str] |None) – 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’]