From: Discussions c. R. <rea...@li...> - 2007-04-10 12:42:03
|
Executing one rtb instruction per cpu cycle IMHO seems to be = unrealistic. Most robots wait on certain events (e. g. hit a cookie or wall or reach = a certain point). Every rtb instruction (e. g. shoot with the cannon or accelerate) will show visible results after some seconds (e. g. a robot = is hit by a shot or a certain speed is reached). All existing robots rely = on the fact that time will past before seeing (and reacting to) visible results. Some robots will call sleep() during that periods. Regards Johannes -----Urspr=FCngliche Nachricht----- Von: rea...@li... [mailto:rea...@li...] Im = Auftrag von Discussions concerning RealTimeBattle Gesendet: Dienstag, 10. April 2007 14:13 An: rea...@li... Betreff: Re: [Realtimebattle-discussion] RTB in real time Hi, for me, the real time is the time of a clock, for example, and the cpu time es the time of frequency of pc. The first in seconds and the other in Ghz. My idea is execute the a rtb instruction for CPU cycle (for example). Thus, the game will be gone fast. The problem of genetic algorithms is the time that takes each test of execution (the time of a battle), for that reason if with himself to execute the game more quickly, the evolution will be faster I can adjust the option "time scale", but the results is not a real :(. I probe a execute the rtb and in "time scale" default value a bot game in all games, and with "time scale" max value, this robot lost all games :( (I execute several times) 2007/4/10, Discussions concerning RealTimeBattle <rea...@li...>: > Basically, realtimebattle is round based. Every 1/20 second (value is controllable) all events will be processed and output will be generated. > You may adjust the event loop in order to speed up the game. > > I am not sure whether I have really understood your question, what do = you exactly mean with cpu time vs. real time? > > Regards > > Johannes > > > -----Urspr=FCngliche Nachricht----- > Von: rea...@li... im = Auftrag von Discussions concerning RealTimeBattle > Gesendet: Di 10.04.2007 13:01 > An: rea...@li... > Betreff: [Realtimebattle-discussion] RTB in real time > > Hello list, > > I`m development a rob using genetic algorithms. Each evolution takes > long time (day and weeks). I needed to execute rtb in CPU time instead > of in real time, thus the evolutions would be much more fast. > > some idea of like being able to do this? It is possible? > > Thanks :) > > -- > Power by Debian. > > A greeting, > > Javier. > > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > opinions on IT & business topics through brief surveys-and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Realtimebattle-discussion mailing list > Rea...@li... > https://lists.sourceforge.net/lists/listinfo/realtimebattle-discussion > > > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > opinions on IT & business topics through brief surveys-and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Realtimebattle-discussion mailing list > Rea...@li... > https://lists.sourceforge.net/lists/listinfo/realtimebattle-discussion > > > --=20 Power by Debian. A greeting, Javier. -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Realtimebattle-discussion mailing list Rea...@li... https://lists.sourceforge.net/lists/listinfo/realtimebattle-discussion |