outcome_for

negmas.outcomes.outcome_for(outcome: Outcome, ami: Mechanism)Optional[Outcome][source]

Converts the outcome the type specified by the mechanism

Parameters
  • outcome – The outcome to adjust type

  • ami – The Agent Mechanism Interface