Skip to content

Commit

Permalink
Merge branch 'main' into refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
MangaBoba authored Dec 19, 2023
2 parents a11645a + c36d5af commit f7275a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gefest/core/opt/objective/objective_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __call__(
) -> list[Structure]:
"""Calls objectives evaluation."""
pop = ensure_wrapped_in_sequence(pop)

return self.set_pop_objectives(pop=pop)

def set_pop_objectives(
Expand Down
1 change: 0 additions & 1 deletion gefest/core/viz/struct_vizualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def plot_structure(self, structs: list[Structure], infos=None, linestyles='-', l
]
if legend:
plt.legend(lines, infos, loc=2)

return fig

def plot_poly(self, poly, linestyle, **kwargs):
Expand Down
1 change: 1 addition & 0 deletions gefest/tools/tuners/sa.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ def analysis(self):
fitness_history = mov_fitness + rotated_fitness + del_fitness + rm_points_fitness
structure_history = mov_structure + rotated_structure + del_structure + rm_points_structure
poly_history = mov_poly + rotated_poly + del_poly + rm_points_poly

time_history = self.get_time_history

return fitness_history, structure_history, poly_history, time_history
Expand Down

0 comments on commit f7275a1

Please sign in to comment.