Skip to content

Commit

Permalink
NSGA3 added
Browse files Browse the repository at this point in the history
  • Loading branch information
lavakin committed Apr 26, 2024
1 parent b76f7c3 commit 7faab32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setga/select_subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def evaluate_individual(individual,**kwargs):
if selection == "NSGA3":
if ref_points is None:
raise WrongType("Ref_points cannot be None")
toolbox.register("select", tools.selNSGA2,ref_points = ref_points)
toolbox.register("select", tools.selNSGA3,ref_points = ref_points)
if selection not in ["SPEA2","NSGA2"]:
raise WrongType("Unknown type of mating")

Expand Down

0 comments on commit 7faab32

Please sign in to comment.