K Previous Observations

K Previous Observations

KMarkovUpdater

Updater that stores the k most recent observations as the belief.

Example:

up = KMarkovUpdater(5)
s0 = initialstate(pomdp, rng)
initial_observation = gen(DDNNode(:o), pomdp, s0, rng)
initial_obs_vec = fill(initial_observation, 5)
hr = HistoryRecorder(rng=rng, max_steps=100)
hist = simulate(hr, pomdp, policy, up, initial_obs_vec, s0)
source