Add project 4 code.

This commit is contained in:
2021-12-12 14:08:34 -05:00
parent 730d3672cc
commit 00721c4f56
97 changed files with 10106 additions and 0 deletions

File diff suppressed because one or more lines are too long

View 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"

File diff suppressed because one or more lines are too long

View 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"

View File

@@ -0,0 +1 @@
# You must win at least 8/10 games with at least 700 points

View 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"

View File

@@ -0,0 +1,3 @@
max_points: "3"
class: "PassAllTestsQuestion"