class ParticleGenerator extends AnyRef

Class to handle sampling from continuous elements to make factors

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParticleGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParticleGenerator(de: DensityEstimator, numSamplesFromAtomics: Int, maxNumSamplesAtChain: Int)

    de

    An instance to compute the density estimate of point during resampling

    numSamplesFromAtomics

    Maximum number of samples to take from atomic elements

    maxNumSamplesAtChain

    Maximum number of samples on the output of chains

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[T](elem: Element[T], numSamples: Int): List[(Double, T)]

    Retrieves the samples for an element using the indicated number of samples.

    Retrieves the samples for an element using the indicated number of samples. If the stored result has at least as many samples as numSamples, this returns the stored result. Otherwise, this takes additional samples. It then stores and returns the combined result.

  5. def apply[T](elem: Element[T]): List[(Double, T)]

    Retrieves the stored samples for an element if there are any.

    Retrieves the stored samples for an element if there are any. Otherwise, this takes the default number of samples, then stores the and returns result.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clear(): Unit

    Clears all of the samples for elements in this sampler

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val maxNumSamplesAtChain: Int
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. val numSamplesFromAtomics: Int
  20. def resample(elem: Element[_], beliefs: List[Tuple2[Double, _]], oldMessages: List[List[Tuple2[Double, _]]], proposalVariance: Double): Unit

    Resample and update the element from the indicated beliefs beliefs/oldMessages = (Probability, Value)

  21. def sampledElements(): Set[Element[_]]

    Returns the set of sampled elements contained in this sampler

  22. def samplesTaken(elem: Element[_]): Int

    Returns the number of samples that have been taken for the given element

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def update(elem: Element[_], numSamples: Int, samples: List[Tuple2[Double, _]]): Unit

    Updates the samples for an element

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. var warningIssued: Boolean

Deprecated Value Members

  1. val numArgSamples: Int
    Annotations
    @deprecated
    Deprecated

    (Since version 4.1) numArgSamples is deprecated. Please use numSamplesFromAtomics

  2. val numTotalSamples: Int
    Annotations
    @deprecated
    Deprecated

    (Since version 4.1) numTotalSamples is deprecated. Please use maxNumSamplesAtChain

Inherited from AnyRef

Inherited from Any

Ungrouped