![]() |
MakeFigure2PURPOSE
Generates Figure 2.
SYNOPSIS
function MakeFigure2
DESCRIPTION
Generates Figure 2. Generates the data for Figure 2 in the paper. This functions uses GetData to check if the results are already pre-computed and stored in the Results directory. If they are not, we execute 10 repetitions of Perseus and collect the average statistics. This can be extremely time demanding (about one day of non-stop computing on an average computer). I compute the experiments in parallel in a cluster of computers executing: Computer1> TestRep('Test1','myresults',1); Computer2> TestRep('Test1','myresults',2); ... Computer10> TestRep('Test1','myresults',10); and at the end Computer1> [tics SM SD]=GetPOMDPAverageStatistics('Test1-myresults') The results I obtained are downlodable from the same place where you get this solftware. Using those pre-compute results, you will get he plot in Figure 2 in few seconds. See also GetData, TestRep, GetPOMDPAverageStatistics, TestRepWithStatistics, MakeFigureSimulation. CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 function MakeFigure2 0002 % Generates Figure 2. 0003 % 0004 % Generates the data for Figure 2 in the paper. 0005 % This functions uses GetData to check if the results are already 0006 % pre-computed and stored in the Results directory. 0007 % If they are not, we execute 10 repetitions of Perseus and collect the 0008 % average statistics. This can be extremely time demanding (about one day 0009 % of non-stop computing on an average computer). 0010 % I compute the experiments in parallel in a cluster of computers 0011 % executing: 0012 % Computer1> TestRep('Test1','myresults',1); 0013 % Computer2> TestRep('Test1','myresults',2); 0014 % ... 0015 % Computer10> TestRep('Test1','myresults',10); 0016 % 0017 % and at the end 0018 % 0019 % Computer1> [tics SM SD]=GetPOMDPAverageStatistics('Test1-myresults') 0020 % 0021 % The results I obtained are downlodable from the same place where you 0022 % get this solftware. Using those pre-compute results, you will get he 0023 % plot in Figure 2 in few seconds. 0024 % 0025 % See also GetData, TestRep, GetPOMDPAverageStatistics, 0026 % TestRepWithStatistics, MakeFigureSimulation. 0027 0028 fprintf('Loading/Generating the simulation results\n'); 0029 GenData=@()(TestRepWithStatistics('Test1','Figure2',1:10)); 0030 Results=GetData('Results/Test1-Figure2-results.mat',GenData); 0031 0032 MakeFigureSimulation('C-POMDP Figure 2',Results); |