Home > src > BN_pol_rec > visualization > cmp3_show_policies.m

cmp3_show_policies

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 
0003   
0004 
0005 t_start = 1; 
0006 t_end = 160;
0007 % [ALL_policy_stuct_one_Marc, great_data_cell_1] = simulationLoop_Final('start', t_start, 'stop', t_end, 'sensordata', 'sensorData_one_Marcuses.mat');
0008 % [ALL_policy_struct_two_Marc, great_data_cell_2] = simulationLoop_Final('start', t_start, 'stop', t_end, 'sensordata', 'sensorData_two_Marcuses.mat');
0009 % [ALL_policy_struct_three_Marc, great_data_cell_3] = simulationLoop_Final('start', t_start,'stop', t_end, 'sensordata', 'sensorData_three_Marcuses.mat');
0010 load ALL_policy_struct_Real;
0011 load ALL_policy_stuct_one_Marc;
0012 load ALL_policy_struct_two_Marc
0013 load ALL_policy_struct_three_Marc;
0014 load great_data_cell_1; 
0015 plotPolicies(ALL_policy_struct_Real,1, 3, 'r', '\infty',[103 0.43], t_start, t_end)
0016 plotPolicies(ALL_policy_stuct_one_Marc,1, 3, 'g', '1', [143 0.7], t_start, t_end)
0017 %plotPolicies(ALL_policy_struct_two_Marc,1, 3, 'k', '2',[1 0.9],t_start, t_end)
0018 plotPolicies(ALL_policy_struct_three_Marc,1, 3, 'b ', '3', [126 0.45] ,t_start, t_end)
0019 T13 = [];
0020 for t = t_start:t_end
0021   T13 =[T13; max(great_data_cell_1{t}(1,3).threat.plt)];
0022 end;
0023 
0024 T23 = [];
0025 for t = t_start:t_end
0026   T23 =[T23; max(great_data_cell_1{t}(2,3).threat.plt)];
0027 end;

Generated on Wed 16-Mar-2005 09:17:47 by m2html © 2003