public class DefaultAmbiguityResolver extends java.lang.Object implements AmbiguityResolver
| Constructor and Description |
|---|
DefaultAmbiguityResolver() |
| Modifier and Type | Method and Description |
|---|---|
Value |
resolveCumulativeConclusions(java.util.LinkedList<Value> ambiguousValues)
When there is two or more values of the same atribtue in the memory, consider last (most recent)
value as the current value.
|
java.util.LinkedList<java.util.AbstractMap.SimpleEntry<Rule,UncertainTrue>> |
resolveDisjunctiveConclusions(ConflictSet ambiguousRules,
WorkingMemory wm,
ConflictSetResolution csr)
This method does not consider uncertainty level of the rules, but treats all rules as
the equaly certina and immediatelly applies the standard conflict set resolution mechanism chosed for the inference process.
|
public Value resolveCumulativeConclusions(java.util.LinkedList<Value> ambiguousValues)
resolveCumulativeConclusions in interface AmbiguityResolverambiguousValues - set of ambiguous values from which the true value has
to be extracted, or calculatedpublic java.util.LinkedList<java.util.AbstractMap.SimpleEntry<Rule,UncertainTrue>> resolveDisjunctiveConclusions(ConflictSet ambiguousRules, WorkingMemory wm, ConflictSetResolution csr)
resolveDisjunctiveConclusions in interface AmbiguityResolverambiguousRules - set of rules that satisfy minimal satisfiability threshold,
yet there is still uncertain which of them should actually be firedwm - working memory component that should be used to evaluate rules decisionscsr - conflict set resolution mechanism that should be applied in case when to or more rules have the same certainty level