com.cra.figaro.algorithm

sampling

package sampling

Visibility
  1. Public
  2. All

Type Members

  1. trait AnytimeMPESampler extends AnytimeSampler with AnytimeMPE

    Anytime sampling algorithms that compute MPE.

  2. class AnytimeMetropolisHastings extends MetropolisHastings with AnytimeProbQuerySampler

    Anytime Metropolis-Hastings sampler.

  3. class AnytimeMetropolisHastingsAnnealer extends MetropolisHastingsAnnealer with AnytimeMPESampler

    Anytime Metropolis-Hastings annealer.

  4. trait AnytimeProbEvidenceSampler extends AnytimeSampler with AnytimeProbEvidence

    Anytime sampling algorithms that compute probability of evidence.

  5. trait AnytimeProbQuerySampler extends AnytimeProbQuery with AnytimeSampler

    Anytime sampling algorithms that compute conditional probability of query elements.

  6. trait AnytimeSampler extends Algorithm with Anytime with Sampler

    Anytime sampling algorithms.

  7. case class DisjointScheme(choices: (Double, () ⇒ ProposalScheme)*) extends ProposalScheme with Product with Serializable

    A proposal scheme that chooses between different proposal schemes, each with a probability.

  8. case class FinalScheme(element: () ⇒ Element[_]) extends ProposalScheme with Product with Serializable

    A proposal scheme that consists of proposing a single element.

  9. abstract class Importance extends WeightedSampler

    Importance samplers.

  10. abstract class MetropolisHastings extends UnweightedSampler

    Metropolis-Hastings samplers.

  11. abstract class MetropolisHastingsAnnealer extends UnweightedAnnealer

    Metropolis-Hastings based Annealer

  12. trait OneTimeMPESampler extends OneTimeSampler with OneTimeMPE

    One-time sampling algorithms that compute probability of evidence.

  13. class OneTimeMetropolisHastings extends MetropolisHastings with OneTimeProbQuerySampler

    One-time Metropolis-Hastings sampler.

  14. class OneTimeMetropolisHastingsAnnealer extends MetropolisHastingsAnnealer with OneTimeMPESampler

    One-time Metropolis-Hastings annealer.

  15. trait OneTimeProbEvidenceSampler extends OneTimeSampler with OneTimeProbEvidence

    One-time sampling algorithms that compute probability of evidence.

  16. trait OneTimeProbQuerySampler extends ProbQueryAlgorithm with OneTimeSampler with OneTimeProbQuery

    One-time sampling algorithms that compute conditional probability of query elements.

  17. trait OneTimeSampler extends Sampler with OneTime

    One-time sampling algorithms.

  18. abstract class ProbEvidenceSampler extends ProbEvidenceAlgorithm with Sampler

    Algorithm that computes probability of evidence using forward sampling.

  19. sealed abstract class ProposalScheme extends AnyRef

    Class that describes proposal schemes used in Metropolis-Hastings algorithms.

  20. trait Sampler extends Algorithm

    A trait for sampling algorithms.

  21. class Schedule extends AnyRef

    The schedule class determines the annealing schedule in the annealer.

  22. case class SwitchScheme[T, U](firstElems: () ⇒ (Element[T], Element[U]), rest: Option[ProposalScheme]) extends ProposalScheme with Product with Serializable

    Proposes switching the randomness of two elements and optionally continues with another proposal scheme.

  23. case class TypedScheme[T](first: () ⇒ Element[T], rest: (T) ⇒ Option[ProposalScheme]) extends ProposalScheme with Product with Serializable

    A proposal scheme that proposes a first element and optionally continues with another proposal scheme based on the value of the first element.

  24. case class UntypedScheme(first: () ⇒ Element[_], rest: Option[ProposalScheme]) extends ProposalScheme with Product with Serializable

    A proposal scheme that proposes a first element and optionally continues with another proposal scheme.

  25. abstract class UnweightedAnnealer extends MPEAlgorithm with Sampler

    Samplers that use samples without weights.

  26. abstract class UnweightedSampler extends ProbQueryAlgorithm with Sampler

    Samplers that use samples without weights.

  27. abstract class WeightedSampler extends ProbQueryAlgorithm with Sampler

    Samplers that use weighted samples.

Value Members

  1. object EmptyProposalScheme extends RuntimeException

    Exception thrown when attempting to create a proposal scheme with no steps.

  2. object Forward

    A forward sampler that generates a state by generating values for elements, making sure to generate all the arguments of an element before the element.

  3. object Importance

  4. object MetropolisHastings

  5. object MetropolisHastingsAnnealer

  6. object ProbEvidenceSampler

  7. object ProposalScheme

  8. object Schedule

Ungrouped