11.3.1. rheia.POST_PROCESS.post_process.PostProcessOpt
- class rheia.POST_PROCESS.post_process.PostProcessOpt(case, eval_type)
The PostProcessOpt class provides methods to retrieve the fitness and population for the generations provided during the optimization.
- Parameters
case (str) – Name of the case to be evaluated.
eval_type (str) – The type of evaluation performed. Equals ‘DET’ for deterministic optimization and ‘ROB’ for robust optimization.
- __init__(case, eval_type)
Methods
__init__(case, eval_type)Determines the number of design samples in the population and the number of generations performed.
get_fitness_population(result_dir[, gen])Returns the population and corresponding fitness values for the generation of interest.
get_fitness_values(gen)Returns the fitness values for the population generated in the specified generation.
Returns the fitness values for the population generated in the specified generation.
sorted_result_file(y_val, x_val)Generates the files that include the sorted population and fitness files.