11.3.7. rheia.POST_PROCESS.post_process.PostProcessOpt.get_hypervolume

PostProcessOpt.get_hypervolume(result_dir, reference_point, objective_weights=None)

Calculate the hypervolume of the Pareto front of every generation.

Parameters:
  • result_dir (str) – The directory were the results are stored.

  • reference_point (list) – The reference point in the original objective space. The point should be worse than all Pareto points for each objective.

  • objective_weights (list, optional) – The optimization weights of the objectives. Use negative values for minimized objectives and positive values for maximized objectives. When no weights are provided, all objectives are assumed to be minimized.

Returns:

  • generations (ndarray) – The generation numbers.

  • hypervolume (ndarray) – The hypervolume of the Pareto front of each generation.