Pareto front
    
calculate_pareto_front(
    runhistory: RunHistory,
    configs: list[Configuration],
    config_instance_seed_budget_keys: list[
        list[InstanceSeedBudgetKey]
    ],
) -> list[Configuration]
Compares the passed configurations and returns only the ones on the pareto front.
Parameters#
runhistory : RunHistory The runhistory containing the given configurations. configs : list[Configuration] The configurations from which the Pareto front should be computed. config_instance_seed_budget_keys: list[list[InstanceSeedBudgetKey]] The instance-seed budget keys for the configurations on the basis of which the Pareto front should be computed.
Returns#
pareto_front : list[Configuration] The pareto front computed from the given configurations.
Source code in smac/utils/pareto_front.py
              
sort_by_crowding_distance(
    runhistory: RunHistory,
    configs: list[Configuration],
    config_instance_seed_budget_keys: list[
        list[InstanceSeedBudgetKey]
    ],
) -> list[Configuration]
Sorts the passed configurations by their crowding distance. Taken from github.com/anyoptimization/pymoo/blob/20abef1ade71915352217400c11ece4c2f35163e/pymoo/algorithms/nsga2.py
Parameters#
runhistory : RunHistory The runhistory containing the given configurations. configs : list[Configuration] The configurations which should be sorted. config_instance_seed_budget_keys: list[list[InstanceSeedBudgetKey]] The instance-seed budget keys for the configurations which should be sorted.
Returns#
sorted_list : list[Configuration] Configurations sorted by crowding distance.