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
ConstructorsConstructorDescriptionTopDownBufferedStore(InterruptFlag interruptFlag, ReasoningMonitor monitor, int arity, String predicate, boolean cepReasoning, boolean cepReasoningWithRetracts, String tempDir, boolean swapping, ProcessExecutor executor, boolean sorted) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidtriggerNeighbours(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, tuplesFinishedMethods inherited from class com.semedy.reasoner.reasoning.processes.UnbufferedStore
getArity, incrementalRelations, incrementalSize, relations, startTuples, toStringMethods inherited from class com.semedy.reasoner.reasoning.processes.ProcessImp
addNextReceiver, dispose, evaluationFinished, getPriority, getStratum, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, setDataFlowGraph, setQueued, setStratumMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.semedy.reasoner.reasoning.processes.Process
addNextReceiver, clear, dispose, getPriority, getStratum, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, setDataFlowGraph, setQueued, setStratumMethods inherited from interface com.semedy.reasoner.api.reasoning.Receiver
receiveTupleMethods 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:
addBottomNeighbourin interfaceTopDownStore
-
triggerNeighbours
Description copied from interface:Storetrigger neighbours for evaluation- Specified by:
triggerNeighboursin interfaceStore- Overrides:
triggerNeighboursin classBufferedStore- Throws:
ReasoningExceptionIOExceptionSemReasonerException
-
getBottomNeighbours
- Specified by:
getBottomNeighboursin interfaceTopDownStore
-