public class FixedOrderInference extends InferenceAlgorithm
InferenceAlgorithm.AttributeParameters, InferenceAlgorithm.TableParameters| Constructor and Description |
|---|
FixedOrderInference(WorkingMemory wm,
XTTModel model,
Configuration conf)
The constructor that collect all the required information for the inference process to be executed.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Stack<Table> |
initStackForAttributes(InferenceAlgorithm.AttributeParameters ap)
The method creates an initial stack of Tables that should be processed by the
InferenceAlgorithm.runRules(Table t) method. |
protected java.util.Stack<Table> |
initStackForTables(InferenceAlgorithm.TableParameters tp)
The method creates an initial stack of Tables that should be processed by the
InferenceAlgorithm.runRules(Table t) method
This is only an initial state and it can be modified during the inference. |
getConf, getModel, getTablesToFire, getWm, isTableStackEmpty, onPostExecute, onPreExecute, peakTable, popTable, pushTable, runRules, setConf, setModel, setTablesToFire, setWm, start, startpublic FixedOrderInference(WorkingMemory wm, XTTModel model, Configuration conf)
wm - a WorkingMemory element from HeaRT inference enginemodel - a XTTModel that will be used to infer dataconf - a Configuration object defining uncertainty handling mechanism, conflict set resolution,protected java.util.Stack<Table> initStackForAttributes(InferenceAlgorithm.AttributeParameters ap)
InferenceAlgorithmInferenceAlgorithm.runRules(Table t) method.
This is only an initial state and it can be modified during the inference. However for some inference modes
this initial stack will be the final.initStackForAttributes in class InferenceAlgorithmap - attributes names which values should be obtain in the inference processInferenceAlgorithm.runRules(Table t) method.protected java.util.Stack<Table> initStackForTables(InferenceAlgorithm.TableParameters tp)
InferenceAlgorithmInferenceAlgorithm.runRules(Table t) method
This is only an initial state and it can be modified during the inference. However for some inference modes
this initial stack will be the final.initStackForTables in class InferenceAlgorithmtp - tables names that are the parameters to the inference engine.
This could mean different things in different reasoning modes.InferenceAlgorithm.runRules(Table t) method.