| java.lang.Object org.mandarax.reference.AbstractResolutionInferenceEngine org.mandarax.reference.ResolutionInferenceEngine3
Method Summary | |
public InferenceEngineFeatureDescriptions | getFeatureDescriptions() Get the feature descriptions. | protected Clause | getNextGoal(Clause c1, Clause c2, Resolution r) Build the next goal, i.e., remove the unified terms, join the remaining clauses,
and apply the unifications. | public ResultSet | query(Query query, org.mandarax.kernel.KnowledgeBase kb, int aCardinalityConstraint, int exceptionHandlingPolicy) Answer a query, retrieve (multiple different) result.
The cardinality contraints describe how many results should be computed. |
ResolutionInferenceEngine3 | public ResolutionInferenceEngine3()(Code) | | Constructor.
|
getNextGoal | protected Clause getNextGoal(Clause c1, Clause c2, Resolution r)(Code) | | Build the next goal, i.e., remove the unified terms, join the remaining clauses,
and apply the unifications.
the next goal Parameters: c1 - the first unified clause Parameters: c2 - the second unified clause Parameters: u - a resolution |
query | public ResultSet query(Query query, org.mandarax.kernel.KnowledgeBase kb, int aCardinalityConstraint, int exceptionHandlingPolicy) throws InferenceException(Code) | | Answer a query, retrieve (multiple different) result.
The cardinality contraints describe how many results should be computed. It is either
-
ONE - indicating that only one answer is expected
-
ALL - indicating that all answers should be computed
-
an integer value greater than 0 indicating that this number of results expected
See Also: ResolutionInferenceEngine3.ONE See Also: ResolutionInferenceEngine3.ALL the result set of the query Parameters: query - the query clause Parameters: kb - the knowledge base used to answer the query Parameters: aCardinalityConstraint - the number of results expected Parameters: exceptionHandlingPolicy - one of the constants definied in this class (BUBBLE_EXCEPTIONS,TRY_NEXT) throws: an - InferenceException |
|
|