Package com.bayesserver.inference
Class QueryLifecycleEndBase
- java.lang.Object
-
- com.bayesserver.inference.QueryLifecycleEndBase
-
- All Implemented Interfaces:
QueryLifecycleEnd
- Direct Known Subclasses:
LikelihoodSamplingQueryLifecycleEnd
,LoopyBeliefQueryLifecycleEnd
,RelevanceTreeQueryLifecycleEnd
,VariableEliminationQueryLifecycleEnd
public abstract class QueryLifecycleEndBase extends Object implements QueryLifecycleEnd
Query end lifecycle base class implementation for causal algorithms. SeeQueryLifecycleEnd
for more information.
-
-
Constructor Summary
Constructors Constructor Description QueryLifecycleEndBase(Inference inference, QueryOptions queryOptions, QueryOutput queryOutput)
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.QueryOutput
getQueryOutput()
The query output.
-
-
-
Constructor Detail
-
QueryLifecycleEndBase
public QueryLifecycleEndBase(Inference inference, QueryOptions queryOptions, QueryOutput queryOutput)
For internal use.- Parameters:
inference
- For internal use.queryOptions
- For internal use.queryOutput
- For internal use.
-
-
Method Detail
-
getQueryOptions
public QueryOptions getQueryOptions()
The query options instance being used in the query.- Specified by:
getQueryOptions
in interfaceQueryLifecycleEnd
-
getQueryOutput
public QueryOutput getQueryOutput()
The query output.- Specified by:
getQueryOutput
in interfaceQueryLifecycleEnd
-
getInference
public Inference getInference()
The current inference engine. Note that some algorithms may use a copy of the original network.- Specified by:
getInference
in interfaceQueryLifecycleEnd
-
-