Skip to content

Commit

Permalink
Improve coverage of selections
Browse files Browse the repository at this point in the history
  • Loading branch information
aahaselgrove committed Sep 30, 2019
1 parent 12a93e8 commit d06fef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rastrigin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
test_result(result, fitness, N, 1e-1)

# Testing: GA
selections = [roulette, sus, ranklinear(1.5)]
selections = [roulette, sus, ranklinear(1.5), rankuniform, tournament(4)]
crossovers = [discrete, intermediate(0.), intermediate(0.25), line(0.2)]
mutations = [domainrange(fill(0.5,N)), domainrange(fill(1.0,N))]

Expand Down

0 comments on commit d06fef1

Please sign in to comment.