Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseFilter Abstract

A base class for implementing probailistic filters

author

Thomas Minier

author

Arnaud Grall

Hierarchy

Index

Properties

_hashing: Hashing
_rng: PRNG
_seed: number

Constructors

Methods

  • fromJSON(json: JSON): any
  • Load an Object from a provided JSON object

    Parameters

    • json: JSON

      the JSON object to load

    Returns any

    Return the Object loaded from the provided JSON object

  • nextInt32(): number
  • saveAsJSON(): any

Accessors

  • Get a function used to draw random number

    Returns PRNG

    A factory function used to draw random integer

  • get seed(): number
  • set seed(seed: number): void
  • Get the seed used in this structure

    Returns number

  • Set the seed for this structure

    Parameters

    • seed: number

      the new seed that will be used in this structure

    Returns void

Generated using TypeDoc