SimulationStep
PURPOSE 
Executes one step of a POMDP simulation.
SYNOPSIS 
function [s b o r]=SimulationStep(P,b,s,a)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
- Prediction Belief evolution under the given action.
- Prediction Belief evolution under the given action.
- Prediction Belief evolution under the given action.
- Prediction Belief evolution under the given action.
- Prediction Belief evolution given a transition model.
- Update Belief evolution under an observation model.
- rand Random state from a discrete belief.
- Prediction Belief evolution given a transition model.
- Update Belief evolution under an observation model.
- get Get for GBeliefs.
- Prediction Belief evolution given a transition model.
- Update Belief evolution under an observation model.
- rand Random state from a belief.
- get Get function for the GMixture object.
- rand Generates random points on a GMixture.
- get Gaussian object get function.
- rand Generates random ponts on a Gaussian.
- RandVector Selects and element from a discrete probability distribution.
- GetObsModelFixedS Defines p(o|s) for a fixed 's'.
- GetObsModelFixedS Defines p(o|s)
- GetObsModelFixedS Defines p(o|s).
- GetObsModelFixedS Defines p(o|s).
- Update Belief evolution under an observation model.
- 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.
- Reward Evaluates the reward function.
- Reward Evaluates the reward function.
- Reward Evaluates the reward function.
- Reward Evaluates the reward function.
- rand Random state from a continuous space.
- rand Random state from a discrete space.
This function is called by:
SOURCE CODE 
0001 function [s b o r]=SimulationStep(P,b,s,a)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 S=get(P,'StateSpace');
0025
0026 [s b]=Prediction(P,s,b,a,S);
0027
0028 po=GetObsModelFixedS(P,s);
0029 if isa(po,'double')
0030 o=RandVector(po);
0031 else
0032 o=rand(po);
0033 end
0034 b=Update(P,b,o,S);
0035
0036 r=Reward(P,a,s);
0037
|