This repo contains the work of Victor Elkjær Birk, William Frisch Møller and Daniel Thoren for the course Artificial Intelligence and multi-agent systems at DTU.
-
I'll give you collaborator access, which, most importantly, gives you pull/push access to the repo.
-
Setup git on your machine - either with Github Desktop (recommended) or manually.
-
At the top of the repo webpage press setup in desktop (or use terminal and git) to setup the repository on your machine. Take a note of the directory in which you place the repo.
-
Enter your favorite Emoji or something below, then commit and push the git - verify that the changes shows up on the repo webpage.
- Danny mustache lvl 0
- Victor
- William mustache lvl over 9000
-
Open a new terminal session
-
Navigate to the repo's folder
01 Warmup Assignment
directory with:cd ~/Path/To/Repo/01\ Warmup\ Assignment/
-
Compile SearchClient java files with:
javac searchclient/*.java
-
Run code:
java -jar server.jar -l levels/SAD1.lvl -c "java -Xmx2g searchclient.SearchClient -dfs" -g 50 -t 300
-
Set parameters
- In the example above we are using the DFS algorithm and 2GB RAM.
- Replace
-dfs
- with-astar
,-wastar
or-greedy
to change search algorithm - Replace
-Xmx2g
with another RAM setting limit or-jar
- Link to Assignment PDF on Github.
- Link to ShareLatex.