From d06fef1615192f5b7f7ab78931396e002d41c007 Mon Sep 17 00:00:00 2001 From: Andrew Haselgrove Date: Mon, 30 Sep 2019 17:05:43 +1000 Subject: [PATCH] Improve coverage of selections --- test/rastrigin.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rastrigin.jl b/test/rastrigin.jl index 59df6a1..68ec846 100644 --- a/test/rastrigin.jl +++ b/test/rastrigin.jl @@ -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))]