TestRepWithStatisticsPURPOSEExecutes many times Perseus on a given problem and collects statistics.
SYNOPSISfunction TestRepWithStatistics(varargin)
DESCRIPTIONExecutes many times Perseus on a given problem and collects statistics. This is a combination of TestRep and GetPOMDPAverageStatistics, i.e., it executes several repetitions on a given problem and then it computes the average of the statistics obtained at each repetition. CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function TestRepWithStatistics(varargin) 0002 % Executes many times Perseus on a given problem and collects statistics. 0003 % 0004 % This is a combination of TestRep and GetPOMDPAverageStatistics, i.e., 0005 % it executes several repetitions on a given problem and then it computes 0006 % the average of the statistics obtained at each repetition. 0007 % 0008 0009 TestRep(varargin{1:end}); 0010 switch nargin 0011 case 3 0012 GetPOMDPAverageStatistics([varargin{1} '-' varargin{2}],varargin{3}(1)); 0013 0014 case 4 0015 GetPOMDPAverageStatistics([get(varargin{1},'name') '-' varargin{3}],varargin{4}(1)); 0016 0017 otherwise 0018 error('Wrong number of parameters in TestRepWithStatistics'); 0019 end |