From d58da7b020d3a009c2eff36dea5d5f46bd4c5a43 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 13 Aug 2015 04:59:56 +0200 Subject: better weights --- strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strategy.py b/strategy.py index 5b8ca5a..e093ad6 100644 --- a/strategy.py +++ b/strategy.py @@ -139,7 +139,7 @@ class Strategy: sigma = 100 wall_score = math.exp(-wall_dist**2/(2*sigma**2)) - return dist_score + 0.2*rival_score + nonsplitkill_score + 5*splitkill_score + 0.1*density_score + 5*wall_score + return 2.5*dist_score + 0.2*rival_score + nonsplitkill_score + 5*splitkill_score + 0.1*density_score + 5*wall_score ##print (density_score) #return density_score -- cgit v1.2.3