diff sheep.pl @ 52:d2ac1e198ce4

implement a new agent based on Decision Tree (Decision::ParseTree)
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 20 Oct 2008 19:07:53 +0800
parents 5849b6fdc76c
children 3a611c51b99b
line wrap: on
line diff
--- a/sheep.pl	Sat Oct 18 22:24:03 2008 +0800
+++ b/sheep.pl	Mon Oct 20 19:07:53 2008 +0800
@@ -37,7 +37,7 @@
         SELECT user.id 
           FROM user, cities 
          WHERE user.id == cities.user 
-           AND user.trader_score_secondary >= 50000 
+           AND user.trader_score_secondary >= 20
            AND user.army_score_main <= 100
            AND cities.island IN (SELECT island.id FROM island WHERE island.x <= ? AND island.x >= ? AND island.y <= ? AND island.y >= ? )
     }