|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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, 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 |
---|
clear, cloneWithPremises, find, getBulkUpdateHandler, getCapabilities, getGlobalProperty, getPrefixMapping, getRawGraph, getReasoner, getTransactionHandler, getVersion, graphBaseFind, isEmpty, isPrepared, remove, reset, testGlobalProperty, validate |
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getStatisticsHandler, isClosed, isIsomorphicWith, notifyAdd, notifyDelete, 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 |
---|
add, clear, contains, contains, delete, dependsOn, find, find, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size |
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 processedpublic 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 processedpublic 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 processedMethod Detail |
---|
public void performAdd(Triple t)
performAdd
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performAdd
in class BasicForwardRuleInfGraph
public void performDelete(Triple t)
performDelete
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performDelete
in class BasicForwardRuleInfGraph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |