feat: p0 and p1

This commit is contained in:
zsq259
2024-06-23 00:05:13 +08:00
parent f105d29e25
commit 71975d5889
228 changed files with 11213 additions and 0 deletions

View File

@ -0,0 +1,3 @@
class: "Q6PartialCreditQuestion"
max_points: "3"
depends: "q4"

View File

@ -0,0 +1,7 @@
# In order for a heuristic to be admissible, the value
# of the heuristic must be less at each state than the
# true cost of the optimal path from that state to a goal.
cost: "8"
path: """
North South South East East East North North
"""

View File

@ -0,0 +1,12 @@
class: "CornerHeuristicSanity"
points: "1"
# The following specifies the layout to be used
layout: """
%%%%%%
%. .%
%P %
%. .%
%%%%%%
"""

View File

@ -0,0 +1,7 @@
# In order for a heuristic to be admissible, the value
# of the heuristic must be less at each state than the
# true cost of the optimal path from that state to a goal.
cost: "8"
path: """
West North North East East East South South
"""

View File

@ -0,0 +1,12 @@
class: "CornerHeuristicSanity"
points: "1"
# The following specifies the layout to be used
layout: """
%%%%%%
%. .%
% %% %
%.P%.%
%%%%%%
"""

View File

@ -0,0 +1,9 @@
# In order for a heuristic to be admissible, the value
# of the heuristic must be less at each state than the
# true cost of the optimal path from that state to a goal.
cost: "28"
path: """
South South South West West West West East East East East East North
North North North North West West West South South South West West
North North North
"""

View File

@ -0,0 +1,15 @@
class: "CornerHeuristicSanity"
points: "1"
# The following specifies the layout to be used
layout: """
%%%%%%%%
%.% .%
% % % %
% % %P %
% % %
%%%%% %
%. .%
%%%%%%%%
"""

View File

@ -0,0 +1,16 @@
# This solution file specifies the length of the optimal path
# as well as the thresholds on number of nodes expanded to be
# used in scoring.
cost: "106"
path: """
North East East East East North North West West West West North North
North North North North North North West West West West South South
East East East East South South South South South South West West
South South South West West East East North North North East East East
East East East East East South South East East East East East North
North East East North North East East North North East East East East
South South South South East East North North East East South South
South South South North North North North North North North West West
North North East East North North
"""
thresholds: "2000 1600 1200"

View File

@ -0,0 +1,19 @@
class: "CornerHeuristicPacman"
# The following specifies the layout to be used
layout: """
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%. % % % %.%
% % % %%%%%% %%%%%%% % %
% % % % % %
%%%%% %%%%% %%% %% %%%%% % %%%
% % % % % % % % %
% %%% % % % %%%%%%%% %%% %%% %
% % %% % % % %
%%% % %%%%%%% %%%% %%% % % % %
% % %% % % %
% % %%%%% % %%%% % %%% %%% % %
% % % % % % %%% %
%. %P%%%%% % %%% % .%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
"""