load_genius_domain

negmas.inout.load_genius_domain(domain_file_name: Union[pathlib.Path, str], utility_file_names: Optional[List[str]] = None, agent_factories: Optional[Union[Callable[], negmas.negotiators.Negotiator], List[Callable[], negmas.negotiators.Negotiator]]]] = None, force_single_issue=False, force_numeric=False, cache_and_discretize_outcomes=False, max_n_outcomes: int = 1000000, n_discretization: Optional[int] = None, keep_issue_names=True, keep_value_names=True, normalize_utilities=False, normalize_max_only=False, n_steps=None, time_limit=180, max_n_agents=None, dynamic_entry=True, safe_parsing=False, ignore_reserved=False, ignore_discount=False, **kwargs)Tuple[Optional[negmas.sao.SAOProtocol], List[dict], Union[Dict[str, negmas.outcomes.Issue], List[negmas.outcomes.Issue]]][source]

Loads a genius domain, creates appropriate negotiators if necessary

Parameters
  • domain_file_name

  • utility_file_names

  • agent_factories

  • force_single_issue

  • cache_and_discretize_outcomes

  • max_n_outcomes

  • n_discretization

  • keep_issue_names

  • keep_value_names

  • normalize_utilities

  • normalize_max_only

  • n_steps

  • time_limit

  • max_n_agents

  • dynamic_entry

  • safe_parsing

  • ignore_reserved

  • ignore_discount

  • kwargs – Extra arguments to pass verbatim to SAOMechanism constructor

Returns

A mechanism for the given issues - agent_info (List[Dict]): All Negotiator functions from the given file - issues Union[Issue, Dict[str, Issue], List[Issue]]] : The issues

Return type

  • mechanism (SAOMechanism)