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 Finalize a sample.

Member Function Details

draw

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

Finalize a sample.

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.
  • κ: Markov kernel.