Skip to content

ParticleSampler


class ParticleSampler

Particle sampler.

classDiagram ParticleSampler <|-- ConditionalParticleSampler ConditionalParticleSampler <|-- ParticleGibbsSampler link ParticleSampler "../ParticleSampler/" link ConditionalParticleSampler "../ConditionalParticleSampler/" link ParticleGibbsSampler "../ParticleGibbsSampler/"

Member Functions

Name Description
sample Start a sample.
sample Step a sample.
draw Draw a sample.

Member Function Details

draw

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

Draw 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.