Package com.bayesserver.inference
Class QueryLifecycleBeginBase
- java.lang.Object
-
- com.bayesserver.inference.QueryLifecycleBeginBase
-
- All Implemented Interfaces:
QueryLifecycleBegin
- Direct Known Subclasses:
LikelihoodSamplingQueryLifecycleBegin
,LoopyBeliefQueryLifecycleBegin
,RelevanceTreeQueryLifecycleBegin
,VariableEliminationQueryLifecycleBegin
public abstract class QueryLifecycleBeginBase extends Object implements QueryLifecycleBegin
Query begin lifecycle base class implementation for causal algorithms. SeeQueryLifecycleBegin
for more information.
-
-
Constructor Summary
Constructors Constructor Description QueryLifecycleBeginBase(Inference inference, QueryOptions queryOptions)
For internal use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Inference
getInference()
The current inference engine.QueryOptions
getQueryOptions()
The query options instance being used in the query.
-
-
-
Constructor Detail
-
QueryLifecycleBeginBase
public QueryLifecycleBeginBase(Inference inference, QueryOptions queryOptions)
For internal use.- Parameters:
inference
- For internal use.queryOptions
- For internal use.
-
-
Method Detail
-
getQueryOptions
public QueryOptions getQueryOptions()
The query options instance being used in the query. This can be modified by a class that implementsQueryLifecycle
.- Specified by:
getQueryOptions
in interfaceQueryLifecycleBegin
-
getInference
public Inference getInference()
The current inference engine. Note that some algorithms may use a copy of the original network.- Specified by:
getInference
in interfaceQueryLifecycleBegin
-
-