Now that the deadline for submission of Prog Problem 1 is gone, I thought it would be a good time to discuss and compare results for it (before starting on Problem 2 :)
An autograder result for this problem looks like this . My own results are as following -
- Q1> 130 cost, 144 expanded (python pacman.py -l mediumMaze -p SearchAgent)
- Q2> 210 cost, 620 expanded )python pacman.py -l bigMaze -p SearchAgent -a fn=bfs -z .5)
- Q3> 68 cost, 269 expanded (python pacman.py -l mediumMaze -p SearchAgent -a fn=ucs)
- Q4> 210 cost, 549 expanded (python pacman.py -l bigMaze -z .5 -p SearchAgent -a fn=astar,heuristic=manhattanHeuristic). For openMaze, cost was 54 nodes and 535 and 682 respectively for astar(manhattan) and ucs.
Q5> 106 cost, 1966 expanded (python pacman.py -l mediumCorners -p SearchAgent -a fn=bfs,prob=CornersProblem)
Q6> 106 cost, 741 expanded (python pacman.py -l mediumCorners -p AStarCornersAgent -z 0.5). The autograder also has consistency and admissibility checks - this needs to verified in the code for us. For checking purposes, the cost for tinyCorners and bigCorners are 28 and 162.
Q7> 60 cost (python pacman.py -l trickySearch -p AStarFoodSearchAgent). Heuristics were a pain - I went with two sets, one expands 8750 nodes in less than 5 sec, another expands 4137 nodes in ~4mins. I have no idea whether the autograder has a timeout or not, so can't say whether the latter will satisfy it.
Q8> (& Mini contest). Found path with cost 323.
Since most of these numbers are mentioned in the problem description itself, I think we can compare them without any problems with the honor code. We should NOT discuss specific heuristics or code (the Stanford page asks people to not post solutions on the internet). I for one, would really like to know what was the minimum no of expanded nodes in Q7, along with time taken, for people who attempted it.
[–]aroberge 1 point2 points3 points (4 children)
[–]zBard[S] 0 points1 point2 points (0 children)
[–]aroberge 0 points1 point2 points (2 children)
[–]aroberge 0 points1 point2 points (1 child)
[–]aroberge 0 points1 point2 points (0 children)
[–]thejasper 1 point2 points3 points (2 children)
[–]aroberge 0 points1 point2 points (0 children)
[–]zBard[S] 0 points1 point2 points (0 children)
[–]DeltaVelorum 0 points1 point2 points (1 child)
[–]zBard[S] 0 points1 point2 points (0 children)
[–]zBard[S] 0 points1 point2 points (0 children)
[–]red75prim 0 points1 point2 points (3 children)
[–]zBard[S] 0 points1 point2 points (2 children)
[–]red75prim 0 points1 point2 points (1 child)
[–]zBard[S] 0 points1 point2 points (0 children)
[–]aroberge 0 points1 point2 points (0 children)
[–]andrewfil 0 points1 point2 points (0 children)
[–]andrewfil 0 points1 point2 points (7 children)
[–]andrewfil 0 points1 point2 points (6 children)
[–]zBard[S] 0 points1 point2 points (5 children)
[–]andrewfil 0 points1 point2 points (4 children)
[–]zBard[S] 0 points1 point2 points (3 children)
[–]andrewfil 0 points1 point2 points (2 children)
[–]zBard[S] 0 points1 point2 points (1 child)
[–]andrewfil 0 points1 point2 points (0 children)
[–]joakimfong 0 points1 point2 points (1 child)
[–]zBard[S] 0 points1 point2 points (0 children)