pareto_frontier_of

negmas.preferences.pareto_frontier_of(points, eps=-1e-12, sort_by_welfare=True)[source]

Finds the pareto-frontier of a set of utils (i.e. utility values). Uses a fast algorithm.

Parameters:
  • points (Union[ndarray, Iterable[Iterable[float]]]) – list of utils

  • eps – A (usually negative) small number to treat as zero during calculations

  • sort_by_welfare – If True, the results are sorted descindingly by total welfare

Return type:

ndarray

Returns: