[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /feed.php on line 173: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /feed.php on line 174: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums Falls 2011, sponsored by Google 2010-11-27T21:32:31+00:00 http://forums.aichallenge.org/feed.php?f=18&t=1122 2010-11-27T21:32:31+00:00 2010-11-27T21:32:31+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7784#p7784 <![CDATA[Re: So many timeout]]>
The timer is double using 2 functions : System.currentTimeMillis() System.nanoTime(), the first reaching the limit is used.

Statistics: Posted by Cyrano — Sat Nov 27, 2010 9:32 pm


]]>
2010-11-27T18:04:29+00:00 2010-11-27T18:04:29+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7782#p7782 <![CDATA[Re: So many timeout]]>
My advice, without going into Java implementation details, is:

- Make sure you're using wall clock and not CPU clock.
- Check the time out frequently. I think on my computer I end up checking it about every 1-2 ms, and even that is still kinda risky. Judging by the sentence "4 cyles event with a 100ms deadline", it sounds like you might be checking it not often enough. I'd check the time often within a single cycle, and stop early if the time's up.
- Make sure minimal processing is done after the bot is out of time, e.g. do minor cleanup and output the moves to stdout.

Statistics: Posted by iouri_ — Sat Nov 27, 2010 6:04 pm


]]>
2010-11-27T17:41:45+00:00 2010-11-27T17:41:45+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7781#p7781 <![CDATA[Re: So many timeout]]> Statistics: Posted by Cyrano — Sat Nov 27, 2010 5:41 pm


]]>
2010-11-27T14:07:28+00:00 2010-11-27T14:07:28+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7775#p7775 <![CDATA[Re: So many timeout]]> Statistics: Posted by Cyrano — Sat Nov 27, 2010 2:07 pm


]]>
2010-11-27T01:23:05+00:00 2010-11-27T01:23:05+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7759#p7759 <![CDATA[Re: So many timeout]]>
There are far less than 1s of compute time.

Statistics: Posted by Cyrano — Sat Nov 27, 2010 1:23 am


]]>
2010-11-17T20:01:01+00:00 2010-11-17T20:01:01+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7406#p7406 <![CDATA[Re: So many timeout]]>
The very strange think is when mybot play against itself on my host, the timeout occur after 4 cyles event with a 100ms deadline. There is something strange !

Statistics: Posted by Cyrano — Wed Nov 17, 2010 8:01 pm


]]>
2010-11-17T09:52:21+00:00 2010-11-17T09:52:21+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7399#p7399 <![CDATA[Re: So many timeout]]> Statistics: Posted by Xrillo — Wed Nov 17, 2010 9:52 am


]]>
2010-11-17T08:57:12+00:00 2010-11-17T08:57:12+00:00 http://forums.aichallenge.org/viewtopic.php?t=1122&p=7396#p7396 <![CDATA[So many timeout]]>
I do some tree search based on a timer. The jitter of this search based on log is around few ms. But even with an internal timeout counter of 800ms, i still have timeout in the game. What is the realistic limit to avoid timeout ? 800ms it's still 20% less time than the rules.

Somebody have an idea about the kind of computer the battle are run ? The optimal algorithme are not the same if the cpu is powerfull or not.

Statistics: Posted by Cyrano — Wed Nov 17, 2010 8:57 am


]]>