|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjdrew.oo.bu.Subsumption
public class Subsumption
This class is used for checking if one (newly selected) fact is subsumed by another fact that has already been processed. Subsumption checking is a two step process; first the newly selected fact is ground (all variables are bound to newly created constants), once the fact has been made ground then subsumption is checked by attempting to unify the ground atom with other facts; if unification succeedes then the fact it was unified wtih subsumes the fact that was made ground.
Title: OO jDREW
Description: Reasoning Engine for the Semantic Web - Supporting OO RuleML 0.88
Copyright: Copyright (c) 2005
| Constructor Summary | |
|---|---|
Subsumption(DefiniteClause base)
This creates a subsumption checker; First it initializes all data structures based upon the fact that is passed (this is the one to be checked if it is subsumed by another fact); then it will call the ground(Term) method to ground the fact. |
|
| Method Summary | |
|---|---|
boolean |
subsumedBy(DefiniteClause oldfact)
This method is called to check to see if the passed fact subsumes the fact that was used in the consturctor of the Subsumption object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Subsumption(DefiniteClause base)
base - DefiniteClause The fact to check for subsumption; this is
generally a newly selected fact in the runForwardReasoner method of a
ForwardReasoner object.| Method Detail |
|---|
public boolean subsumedBy(DefiniteClause oldfact)
oldfact - DefiniteClause The old fact to test for subsumption with.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||