com.cra.figaro.algorithm

Algorithm

trait Algorithm extends AnyRef

The general class of Figaro algorithms. The Algorithm class is defined to generalize both one-time and anytime algorithms, using a start/stop/resume/kill mechanism.

Linear Supertypes
AnyRef, Any
Known Subclasses
Anytime, AnytimeDecisionMetropolisHastings, AnytimeMPE, AnytimeMPESampler, AnytimeMetropolisHastings, AnytimeMetropolisHastingsAnnealer, AnytimeProbEvidence, AnytimeProbEvidenceSampler, AnytimeProbQuery, AnytimeProbQuerySampler, AnytimeProbabilisticBeliefPropagation, AnytimeSampler, BeliefPropagation, DecisionAlgorithm, DecisionImportance, DecisionMetropolisHastings, ExpectationMaximization, FactoredAlgorithm, Filtering, GeneralizedEM, Importance, LazyAlgorithm, LazyVariableElimination, MPEAlgorithm, MPEBeliefPropagation, MPEVariableElimination, MetropolisHastings, MetropolisHastingsAnnealer, MultiDecisionAlgorithm, MultiDecisionVariableElimination, OneTime, OneTimeDecisionMetropolisHastings, OneTimeFiltering, OneTimeMPE, OneTimeMPESampler, OneTimeMetropolisHastings, OneTimeMetropolisHastingsAnnealer, OneTimeMultiDecisionImportance, OneTimeMultiDecisionMetropolisHastings, OneTimeParticleFilter, OneTimeProbEvidence, OneTimeProbEvidenceSampler, OneTimeProbQuery, OneTimeProbQueryDecision, OneTimeProbQuerySampler, OneTimeProbabilisticBeliefPropagation, OneTimeSampler, ParticleFilter, ProbEvidenceAlgorithm, ProbEvidenceBeliefPropagation, ProbEvidenceSampler, ProbQueryAlgorithm, ProbQueryBeliefPropagation, ProbQueryVariableElimination, ProbQueryVariableEliminationDecision, ProbabilisticBeliefPropagation, ProbabilisticVariableElimination, ProbabilisticVariableEliminationDecision, Sampler, SufficientStatisticsVariableElimination, UnweightedAnnealer, UnweightedSampler, VariableElimination, WeightedSampler
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Algorithm
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def doKill(): Unit

    Attributes
    protected
  2. abstract def doResume(): Unit

    Attributes
    protected
  3. abstract def doStart(): Unit

    Attributes
    protected
  4. abstract def doStop(): Unit

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var active: Boolean

    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def cleanUp(): Unit

    Called when the algorithm is killed.

    Called when the algorithm is killed. By default, does nothing. Can be overridden.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def initialize(): Unit

    Called when the algorithm is started before running any steps.

    Called when the algorithm is started before running any steps. By default, does nothing. Can be overridden.

  16. def isActive: Boolean

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def kill(): Unit

    Kill the algorithm so that it is inactive.

    Kill the algorithm so that it is inactive. It will no longer be able to provide answers.Throws AlgorithmInactiveException if the algorithm is not active.

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def resume(): Unit

    Resume the computation of the algorithm, if it has been stopped.

    Resume the computation of the algorithm, if it has been stopped. Throws AlgorithmInactiveException if the algorithm is not active.

  23. def start(): Unit

    Start the algorithm and make it active.

    Start the algorithm and make it active. After it returns, the algorithm must be ready to provide answers. Throws AlgorithmActiveException if the algorithm is already active.

  24. def stop(): Unit

    Stop the algorithm from computing.

    Stop the algorithm from computing. The algorithm is still ready to provide answers after it returns. Throws AlgorithmInactiveException if the algorithm is not active.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped