Backup
PURPOSE 
Backup for a given belief (continuous state version).
SYNOPSIS 
function [alpha a v]=Backup(P,b,V,Alphas_j_a_o)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
- Expectation Expectation between a belief and a alpha-element.
- Expectation Expectation between a belief and a alpha-element.
- get Get for GBeliefs.
- Expectation Expectation between a belief and a alpha-element.
- Compress Gaussian mixutre compression.
- get Get function for the GMixture object.
- get Gaussian object get function.
- get Get function for CS_CO_CA_POMDPs.
- get Get function for CS_CO_DA_POMDPs.
- ComputeAlpha_a Compute the alpha_i_n-element for the given action and belief.
- get Get function for CS_CO_POMDPs.
- get Get function for CS_DO_CA_POMDPs.
- get Get function for CS_DO_DA_POMDPs.
- ComputeAlpha_a Compute the alpha_i_n-element for the given action and belief.
- 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.
- ComputeAlpha_a Compute the alpha_i_n-element for the given action and belief.
- get Get functio for POMDPs.
- dim Dimensionality of a continuous space.
- max Upper bound of a CSpace
- dim Dimensionality of a discrete space.
This function is called by:
- Perseus The Perseus point-based POMDP solver.
- iPerseus Improved version of Perseus.
SOURCE CODE 
0001 function [alpha a v]=Backup(P,b,V,Alphas_j_a_o)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 A=get(P,'ActionSpace');
0022 if isa(A,'CSpace')
0023 error('The Action Space must be discrete at this point');
0024 end
0025 Elements_a=arrayfun(@(a)(ComputeAlpha_a(P,V,b,a,Alphas_j_a_o)),1:dim(A),'UniformOutput',false);
0026 fprintf('a');
0027 [v na]=max(cellfun(@(ea)(Expectation(b,ea)),Elements_a));
0028 fprintf('c');
0029 alpha=Compress(Elements_a{na},P.maxAlphaC);
0030 v=Expectation(b,alpha);
0031 a=A(na);
|