Skip to content

ParticleSampler


class ParticleSampler

Particle sampler.

Member Functions

Name Description
sample Start a sample.
sample Step a sample.
sample Step a sample.
draw Draw a sample from the particle filter.

Member Function Details

draw

function draw(filter:ParticleFilter) -> (Model, Real)

Draw a sample from the particle filter.

sample

function sample(filter:ParticleFilter, model:Model, input:Buffer)

Start a sample.

  • filter Particle filter.
  • model Model.
  • input Input buffer.

function sample(filter:ParticleFilter, t:Integer, input:Buffer)

Step a sample.

  • filter Particle filter.
  • input Input buffer.
  • t The step number, beginning at 1.

function sample(filter:ParticleFilter, t:Integer, input:Buffer, κ:Kernel)

Step a sample.

  • filter Particle filter.
  • t The step number, beginning at 1.
  • input Input buffer. @param κ Markov kernel.