diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-13 04:59:56 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-13 04:59:56 +0200 |
commit | d58da7b020d3a009c2eff36dea5d5f46bd4c5a43 (patch) | |
tree | 2f954e4bc4006dabd8bc51c79d36502bb3ebd416 | |
parent | 2f353651102a0173f10a44b8e13d3946daaaa4a9 (diff) |
better weights
-rw-r--r-- | strategy.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |