Class Not
java.lang.Object
com.semedy.reasoner.reasoning.processes.ProcessImp
com.semedy.reasoner.reasoning.processes.And
com.semedy.reasoner.reasoning.processes.Not
-
Constructor Summary
ConstructorDescriptionNot
(int i, InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, VariableHandler vh, int[] externalFilterPositions, long[] externalFilterValues, RuleEvaluator reval, boolean cepReasoning, String query) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
evaluate()
evaluate a process during reasoning.int
get the stratumboolean
void
setStratum
(int stratum) set the stratum of this processvoid
tuplesReceived
(int ticket) Methods inherited from class com.semedy.reasoner.reasoning.processes.And
evaluationFinished, evaluationFinished, getBottomStore, getLeftStore, setBottomParameters, setBottomStore, setLeftFilter, setLeftParameters, setLeftStore, toString, wakeUpMain
Methods inherited from class com.semedy.reasoner.reasoning.processes.ProcessImp
addNextReceiver, addRelation, clear, dispose, getArity, getPriority, getTupleStore, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, receiveRelation, receiveTuple, receiveTuple, receiveTuple, setDataFlowGraph, setQueued, startTuples, tuplesFinished, tuplesFinished
-
Constructor Details
-
Not
public Not(int i, InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, VariableHandler vh, int[] externalFilterPositions, long[] externalFilterValues, RuleEvaluator reval, boolean cepReasoning, String query)
-
-
Method Details
-
hasBeenExecuted
public boolean hasBeenExecuted()- Specified by:
hasBeenExecuted
in interfaceDeferred
-
deferredEvaluate
- Specified by:
deferredEvaluate
in interfaceDeferred
- Throws:
InterruptedException
SemReasonerException
IOException
-
tuplesReceived
public void tuplesReceived(int ticket) - Overrides:
tuplesReceived
in classAnd
-
evaluate
Description copied from interface:Process
evaluate a process during reasoning.
Returns how the number of tuples sent away- Specified by:
evaluate
in interfaceProcess
- Overrides:
evaluate
in classAnd
- Throws:
InterruptedException
ReasoningException
IOException
SemReasonerException
-
getStratum
public int getStratum()Description copied from interface:Process
get the stratum- Specified by:
getStratum
in interfaceDeferred
- Specified by:
getStratum
in interfaceProcess
- Overrides:
getStratum
in classProcessImp
- Returns:
-
setStratum
public void setStratum(int stratum) Description copied from interface:Process
set the stratum of this process- Specified by:
setStratum
in interfaceDeferred
- Specified by:
setStratum
in interfaceProcess
- Overrides:
setStratum
in classProcessImp
-