Add project 4 code.
This commit is contained in:
205
p4_tracking/test_cases/q3/1-ExactObserveElapse.solution
Normal file
205
p4_tracking/test_cases/q3/1-ExactObserveElapse.solution
Normal file
File diff suppressed because one or more lines are too long
36
p4_tracking/test_cases/q3/1-ExactObserveElapse.test
Normal file
36
p4_tracking/test_cases/q3/1-ExactObserveElapse.test
Normal file
@@ -0,0 +1,36 @@
|
||||
class: "DoubleInferenceAgentTest"
|
||||
|
||||
seed: "188"
|
||||
|
||||
layout: """
|
||||
%%%%%%%%%%%%%%%
|
||||
% G %
|
||||
% %%%%%%%%%%% %
|
||||
% % % %
|
||||
% % % %
|
||||
% % % %
|
||||
% % % %
|
||||
% % P % %
|
||||
% % % %
|
||||
% % % %
|
||||
% % % %
|
||||
% % % %
|
||||
% %%%%%%%%%%% %
|
||||
% G %
|
||||
%%%%%%%%%%%%%%%
|
||||
% % %%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%
|
||||
"""
|
||||
|
||||
observe: "True"
|
||||
|
||||
elapse: "True"
|
||||
|
||||
checkUniform: "False"
|
||||
maxMoves: "200"
|
||||
|
||||
numGhosts: "2"
|
||||
ghost: "SeededRandomGhostAgent"
|
||||
errorMsg: "Exact inference full test: %d inference errors."
|
||||
inference: "ExactInference"
|
||||
L2Tolerance: "0.0001"
|
||||
105
p4_tracking/test_cases/q3/2-ExactObserveElapse.solution
Normal file
105
p4_tracking/test_cases/q3/2-ExactObserveElapse.solution
Normal file
File diff suppressed because one or more lines are too long
28
p4_tracking/test_cases/q3/2-ExactObserveElapse.test
Normal file
28
p4_tracking/test_cases/q3/2-ExactObserveElapse.test
Normal file
@@ -0,0 +1,28 @@
|
||||
class: "DoubleInferenceAgentTest"
|
||||
|
||||
seed: "188"
|
||||
|
||||
layout: """
|
||||
%%%%%%%%%%%%%%%%%%%%
|
||||
%P G G %
|
||||
% %%%%% %%%%%% % % %
|
||||
% G %
|
||||
% G %
|
||||
%%%%%%%%%%%%%%%%%%%%
|
||||
% % % % %%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%
|
||||
"""
|
||||
|
||||
observe: "True"
|
||||
|
||||
elapse: "True"
|
||||
|
||||
checkUniform: "False"
|
||||
maxMoves: "100"
|
||||
|
||||
numGhosts: "4"
|
||||
|
||||
errorMsg: "Exact inference full test: %d inference errors."
|
||||
ghost: "SeededRandomGhostAgent"
|
||||
inference: "ExactInference"
|
||||
L2Tolerance: "0.0001"
|
||||
1
p4_tracking/test_cases/q3/3-gameScoreTest.solution
Normal file
1
p4_tracking/test_cases/q3/3-gameScoreTest.solution
Normal file
@@ -0,0 +1 @@
|
||||
# You must win at least 8/10 games with at least 700 points
|
||||
25
p4_tracking/test_cases/q3/3-gameScoreTest.test
Normal file
25
p4_tracking/test_cases/q3/3-gameScoreTest.test
Normal file
@@ -0,0 +1,25 @@
|
||||
class: "GameScoreTest"
|
||||
|
||||
numRuns: "10"
|
||||
numWinsForCredit: "8"
|
||||
layout_name: "smallHunt"
|
||||
min_score: "700"
|
||||
|
||||
layout_str: """
|
||||
%%%%%%%%%%%%%%%%%%%%
|
||||
%P G G %
|
||||
% %%%%% %%%%%% % % %
|
||||
% G %
|
||||
% G %
|
||||
%%%%%%%%%%%%%%%%%%%%
|
||||
% % % % %%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%
|
||||
"""
|
||||
|
||||
observe: "True"
|
||||
elapse: "True"
|
||||
inference: "ExactInference"
|
||||
maxMoves: "100"
|
||||
numGhosts: "4"
|
||||
|
||||
|
||||
3
p4_tracking/test_cases/q3/CONFIG
Normal file
3
p4_tracking/test_cases/q3/CONFIG
Normal file
@@ -0,0 +1,3 @@
|
||||
max_points: "3"
|
||||
class: "PassAllTestsQuestion"
|
||||
|
||||
Reference in New Issue
Block a user