|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.graph.impl.GraphBase
com.hp.hpl.jena.reasoner.BaseInfGraph
com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph
com.hp.hpl.jena.reasoner.rulesys.RETERuleInfGraph
public class RETERuleInfGraph
RETE implementation of the forward rule infernce graph.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.hp.hpl.jena.reasoner.BaseInfGraph |
|---|
BaseInfGraph.InfCapabilities, BaseInfGraph.InfFindSafeCapabilities, BaseInfGraph.InfTransactionHandler |
| Field Summary |
|---|
| Fields inherited from class com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph |
|---|
filterFunctors |
| Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
|---|
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT |
| Fields inherited from interface com.hp.hpl.jena.graph.Graph |
|---|
emptyGraph |
| Constructor Summary | |
|---|---|
RETERuleInfGraph(Reasoner reasoner,
Graph schema)
Constructor. |
|
RETERuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema)
Constructor. |
|
RETERuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema,
Graph data)
Constructor. |
|
| Method Summary | |
|---|---|
void |
performAdd(Triple t)
Add one triple to the data graph, run any rules triggered by the new data item, recursively adding any generated triples. |
void |
performDelete(Triple t)
Removes the triple t (if possible) from the set belonging to this graph. |
| Methods inherited from class com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleInfGraph |
|---|
addBRule, addDeduction, close, constructReifier, deleteBRule, find, findDataMatches, findWithContinuation, getCurrentDeductionsGraph, getDeductionsGraph, getDerivation, getNRulesFired, getSchemaGraph, graphBaseFind, graphBaseSize, logDerivation, prepare, rebind, rebind, setDerivationLogging, setFunctorFiltering, setRuleStore, setTraceOn, shouldLogDerivations, shouldTrace, silentAdd |
| Methods inherited from class com.hp.hpl.jena.reasoner.BaseInfGraph |
|---|
cloneWithPremises, find, getBulkUpdateHandler, getCapabilities, getGlobalProperty, getPrefixMapping, getRawGraph, getReasoner, getTransactionHandler, getVersion, graphBaseFind, isEmpty, isPrepared, reset, testGlobalProperty, validate |
| Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
|---|
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getReifier, getStatisticsHandler, isClosed, isIsomorphicWith, notifyAdd, notifyDelete, queryHandler, size, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.reasoner.InfGraph |
|---|
find, getGlobalProperty, getRawGraph, getReasoner, reset, testGlobalProperty, validate |
| Methods inherited from interface com.hp.hpl.jena.graph.Graph |
|---|
contains, contains, delete, dependsOn, find, find, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, queryHandler, size |
| Methods inherited from interface com.hp.hpl.jena.graph.GraphAdd |
|---|
add |
| Constructor Detail |
|---|
public RETERuleInfGraph(Reasoner reasoner,
Graph schema)
rebind then any operations
like add, remove, find will result in errors.
reasoner - the parent reasonerschema - the (optional) schema data which is being processed
public RETERuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema)
rebind then any operations
like add, remove, find will result in errors.
reasoner - the parent reasonerrules - the list of rules to use this timeschema - the (optional) schema or preload data which is being processed
public RETERuleInfGraph(Reasoner reasoner,
List<Rule> rules,
Graph schema,
Graph data)
reasoner - the parent reasonerrules - the list of rules to use this timeschema - the (optional) schema or preload data which is being processeddata - the data graph to be processed| Method Detail |
|---|
public void performAdd(Triple t)
performAdd in interface com.hp.hpl.jena.graph.impl.GraphWithPerformperformAdd in class BasicForwardRuleInfGraphpublic void performDelete(Triple t)
performDelete in interface com.hp.hpl.jena.graph.impl.GraphWithPerformperformDelete in class BasicForwardRuleInfGraph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||