User Tools

Site Tools


public:t-622-arti-12-1:prog1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-622-arti-12-1:prog1 [2012/02/13 12:38] – [Material] stephanpublic:t-622-arti-12-1:prog1 [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 43: Line 43:
 ===== Material ===== ===== Material =====
   * {{:public:t-622-arti-12-1:vacuumcleaner_utility_agent.zip|java project for the agent development}}   * {{:public:t-622-arti-12-1:vacuumcleaner_utility_agent.zip|java project for the agent development}}
-  * {{:public:t-622-arti-12-1:bigger_worlds.zip|some bigger test environments}}+  * {{:public:t-622-arti-12-1:bigger_worlds.zip|some bigger test environments}} (updated 14.02.2012, see the worlds.txt file to see how big the state spaces are)
  
 The files in the archive are similar to those in the first lab. The files in the archive are similar to those in the first lab.
Line 53: Line 53:
   - Setup the simulator as shown in this picture:   - Setup the simulator as shown in this picture:
     {{:public:t-622-arti-12-1:gamecontroller-settings.png?nolink&|}}     {{:public:t-622-arti-12-1:gamecontroller-settings.png?nolink&|}}
-  - If there is a second role called "in the game, leave it as "Random".+  - If there is a second role called "Random" in the game, leave it as "Random".
   - Run the "Main" class in the project. If you added your own agent class, make sure that it is used in the main method of Main.java. You can also execute the "ant run" on the command line, if you have [[http://ant.apache.org/|Ant]] installed. The output of the agent should say "NanoHTTPD is listening on port 4001", which indicates that your agent is ready and waiting for messages to arrive on the specified port.   - Run the "Main" class in the project. If you added your own agent class, make sure that it is used in the main method of Main.java. You can also execute the "ant run" on the command line, if you have [[http://ant.apache.org/|Ant]] installed. The output of the agent should say "NanoHTTPD is listening on port 4001", which indicates that your agent is ready and waiting for messages to arrive on the specified port.
   - Now push the "Start" button in the simulator and your agent should get some messages and reply with the actions it wants to execute. At the end, the output of the simulator tells you how many points your agent got: "Game over! results: 0". Those points correspond more or less with negated costs. That is, more points means the solution had lower costs.   - Now push the "Start" button in the simulator and your agent should get some messages and reply with the actions it wants to execute. At the end, the output of the simulator tells you how many points your agent got: "Game over! results: 0". Those points correspond more or less with negated costs. That is, more points means the solution had lower costs.
/var/www/cadia.ru.is/wiki/data/attic/public/t-622-arti-12-1/prog1.1329136721.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki