_pareto_frontier
Module Contents
Functions
|
Return individuals based on their respective frontier values and their domination order. |
Attributes
- TValues
- TOther
- pareto_frontier(frontier_values: list[list[TValues]], frontier_order: list[bool], to_take: int) list[int]
Return individuals based on their respective frontier values and their domination order.
For mor information on the pareto frontier check: https://en.wikipedia.org/wiki/Pareto_front.
- Parameters:
frontier_values – Lists of values that are used for the frontier. The order of the list represents the importance of a value in descending order. These values need to be numeric.
frontier_order – List of orders for the values used in frontier selection. True = ascending, False = descending.
to_take – The amount of individuals to return from the frontier.
- Returns:
The index of the individuals that were selected. Returned in descending order, wrt. frontier values and domination order (Best is first).