|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjdrew.oo.td.builtins.TDBuiltin
jdrew.oo.td.builtins.RegisterBuiltin
public class RegisterBuiltin
The class implements a "builtin" for registering a new clause into the running knowledge base. While this would not normally be considered a built-in relation it is implement as such to provide for easy implementation.
Title: OO jDREW
Description: Reasoning Engine for the Semantic Web - Supporting OO RuleML 0.88
Copyright: Copyright (c) 2005
| Constructor Summary | |
|---|---|
RegisterBuiltin(BackwardReasoner br,
java.lang.String symbol)
Constructs a new object to implement the register built-in relation. |
|
| Method Summary | |
|---|---|
DefiniteClause |
buildResult(BackwardReasoner.GoalList gl,
int term)
This method performs the actions necessary to implement the register built-in relation. |
int |
getSymbol()
Access the symbol code for the assert built-in relation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegisterBuiltin(BackwardReasoner br,
java.lang.String symbol)
br - BackwardReasoner - The backward reasoner engine that will
register this built-in relationship.symbol - String - the symbol string| Method Detail |
|---|
public int getSymbol()
getSymbol in class TDBuiltin
public DefiniteClause buildResult(BackwardReasoner.GoalList gl,
int term)
buildResult in class TDBuiltingl - GoalList goal list that contains the call to the assert
built-in relation.term - int An index into the atoms (array) of the clause (0 is the
head, i = 1..n is the ith atom of the body of the clause) to the atom
that is the call to the assert built-in relation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||