Institut de Robòtica i Informàtica Industrial

TestRepWithStatistics

PURPOSE ^

Executes many times Perseus on a given problem and collects statistics.

SYNOPSIS ^

function TestRepWithStatistics(varargin)

DESCRIPTION ^

   Executes 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 INFORMATION ^

This function calls:
  • get Get for GBeliefs.
  • get Get function for the GMixture object.
  • get Gaussian object get function.
  • GetPOMDPAverageStatistics Averages statistics collected after an experiment.
  • TestRep Executes many times of Perseus on a given problem.
  • get Get function for CS_CO_CA_POMDPs.
  • get Get function for CS_CO_DA_POMDPs.
  • get Get function for CS_CO_POMDPs.
  • get Get function for CS_DO_CA_POMDPs.
  • get Get function for CS_DO_DA_POMDPs.
  • get Get function for CS_POMDPs.
  • get Get function for DS_CO_CA_POMDPs.
  • get Get function for DS_CO_DA_POMDPs.
  • get Get function for DS_DO_CA_POMDPs.
  • get Get function for DS_DO_DA_POMDPs.
  • get Get functio for POMDPs.
This function is called by:

SOURCE CODE ^

0001 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


Institut de Robòtica i Informàtica Industrial

Generated on Wed 05-Aug-2009 15:05:21 by m2html © 2003