Class TopDownBufferedStore
java.lang.Object
com.semedy.reasoner.reasoning.processes.ProcessImp
com.semedy.reasoner.reasoning.processes.UnbufferedStore
com.semedy.reasoner.reasoning.processes.BufferedStore
com.semedy.reasoner.reasoning.processes.TopDownBufferedStore
- All Implemented Interfaces:
Receiver
,Process
,Store
,TopDownStore
-
Constructor Summary
ConstructorDescriptionTopDownBufferedStore
(InterruptFlag interruptFlag, ReasoningMonitor monitor, int arity, String predicate, boolean cepReasoning, boolean cepReasoningWithRetracts, String tempDir, boolean swapping, ProcessExecutor executor, boolean sorted) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
triggerNeighbours
(int ticket) trigger neighbours for evaluationMethods inherited from class com.semedy.reasoner.reasoning.processes.BufferedStore
addNegatedNeighbour, addNeighbour, addRelation, bufferedSize, clear, evaluate, evaluationFinished, getAllTuples, getAllTuplesInOne, getLastResults, getNeighbours, getTupleStore, isSubsumed, readAccessBegin, readAccessEnd, receiveRelation, receiveTuple, receiveTuple, receiveTuple, reset1, size, tuplesFinished, tuplesFinished
Methods inherited from class com.semedy.reasoner.reasoning.processes.UnbufferedStore
getArity, incrementalRelations, incrementalSize, relations, startTuples, toString
Methods inherited from class com.semedy.reasoner.reasoning.processes.ProcessImp
addNextReceiver, dispose, evaluationFinished, getPriority, getStratum, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, setDataFlowGraph, setQueued, setStratum
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.semedy.reasoner.reasoning.processes.Process
addNextReceiver, clear, dispose, getPriority, getStratum, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, setDataFlowGraph, setQueued, setStratum
Methods inherited from interface com.semedy.reasoner.api.reasoning.Receiver
receiveTuple
Methods inherited from interface com.semedy.reasoner.reasoning.processes.Store
addNegatedNeighbour, addNeighbour, addRelation, evaluate, evaluationFinished, getAllTuples, getAllTuplesInOne, getArity, getLastResults, getNeighbours, getTupleStore, incrementalRelations, isSubsumed, readAccessBegin, readAccessEnd, receiveRelation, receiveTuple, receiveTuple, relations, size, startTuples, toString, tuplesFinished, tuplesFinished
-
Constructor Details
-
TopDownBufferedStore
public TopDownBufferedStore(InterruptFlag interruptFlag, ReasoningMonitor monitor, int arity, String predicate, boolean cepReasoning, boolean cepReasoningWithRetracts, String tempDir, boolean swapping, ProcessExecutor executor, boolean sorted) throws IOException - Parameters:
interruptFlag
-monitor
-arity
-predicate
-cepReasoning
-cepReasoningWithRetracts
-tempDir
-swapping
-executor
-sorted
-- Throws:
IOException
-
-
Method Details
-
addBottomNeighbour
- Specified by:
addBottomNeighbour
in interfaceTopDownStore
-
triggerNeighbours
Description copied from interface:Store
trigger neighbours for evaluation- Specified by:
triggerNeighbours
in interfaceStore
- Overrides:
triggerNeighbours
in classBufferedStore
- Throws:
ReasoningException
IOException
SemReasonerException
-
getBottomNeighbours
- Specified by:
getBottomNeighbours
in interfaceTopDownStore
-