You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
883 B
29 lines
883 B
3 years ago
|
class: "PacmanSearchTest"
|
||
|
algorithm: "uniformCostSearch"
|
||
|
points: "0.5"
|
||
|
|
||
|
# The following specifies the layout to be used
|
||
|
layoutName: "mediumMaze"
|
||
|
layout: """
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
% P%
|
||
|
% %%%%%%%%%%%%%%%%%%%%%%% %%%%%%%% %
|
||
|
% %% % % %%%%%%% %% %
|
||
|
% %% % % % % %%%% %%%%%%%%% %% %%%%%
|
||
|
% %% % % % % %% %% %
|
||
|
% %% % % % % % %%%% %%% %%%%%% %
|
||
|
% % % % % % %% %%%%%%%% %
|
||
|
% %% % % %%%%%%%% %% %% %%%%%
|
||
|
% %% % %% %%%%%%%%% %% %
|
||
|
% %%%%%% %%%%%%% %% %%%%%% %
|
||
|
%%%%%% % %%%% %% % %
|
||
|
% %%%%%% %%%%% % %% %% %%%%%
|
||
|
% %%%%%% % %%%%% %% %
|
||
|
% %%%%%% %%%%%%%%%%% %% %% %
|
||
|
%%%%%%%%%% %%%%%% %
|
||
|
%. %%%%%%%%%%%%%%%% %
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
"""
|
||
|
leewayFactor: "1.1"
|
||
|
costFn: "lambda pos: .5 ** pos[0]"
|