os_or_none
- negmas.outcomes.os_or_none(outcome_space, issues, outcomes) OutcomeSpace | None[source]
Returns an outcome space from either an outcome-space, a list of issues, a list of outcomes, or the number of outcomes
- Remakrs:
Precedence is in the order of paramters
outcome_space>issues>outcomes.If nothing is given, it will just return None
Will not copy the outcome-space if it is given
A
CartesianOutcomeSpacewill be created if an outcome-space is not givenIf outcomes is given or all issues are discrete, a
DiscreteCartesianOutcomeSpacewill be created