Class And
java.lang.Object
com.semedy.reasoner.reasoning.processes.ProcessImp
com.semedy.reasoner.reasoning.processes.And
- Direct Known Subclasses:
ExecuteAggregation
,ExecuteConnectorBuiltin
,Not
-
Constructor Summary
ConstructorDescriptionAnd
(int i, InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, VariableHandler vh, int[] externalFilterPositions, long[] externalFilterValues, RuleEvaluator reval, int part, int ofAllParts, boolean cepReasoning, com.semedy.reasoner.reasoning.processes.SystemMonitor.JoinType joinType, String queryKey) -
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate()
evaluate a process during reasoning.void
void
evaluationFinished
(long querykey) the whole evaluation is finishedvoid
setBottomParameters
(int[] destBottom) void
void
setLeftFilter
(int[] filterPositions, long[] filterValues) void
setLeftParameters
(int[] compareLeft, int[] leftSource, int[] leftDest, int[] filterPositions, long[] filterValues) void
toString()
void
tuplesReceived
(int ticket) void
Methods inherited from class com.semedy.reasoner.reasoning.processes.ProcessImp
addNextReceiver, addRelation, clear, dispose, getArity, getPriority, getStratum, getTupleStore, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, receiveRelation, receiveTuple, receiveTuple, receiveTuple, setDataFlowGraph, setQueued, setStratum, startTuples, tuplesFinished, tuplesFinished
-
Constructor Details
-
And
public And(int i, InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, VariableHandler vh, int[] externalFilterPositions, long[] externalFilterValues, RuleEvaluator reval, int part, int ofAllParts, boolean cepReasoning, com.semedy.reasoner.reasoning.processes.SystemMonitor.JoinType joinType, String queryKey)
-
-
Method Details
-
wakeUpMain
public void wakeUpMain() -
toString
-
tuplesReceived
public void tuplesReceived(int ticket) -
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 classProcessImp
- Throws:
InterruptedException
ReasoningException
IOException
SemReasonerException
-
setLeftStore
-
getLeftStore
-
setBottomStore
-
getBottomStore
-
setBottomParameters
public void setBottomParameters(int[] destBottom) -
setLeftParameters
public void setLeftParameters(int[] compareLeft, int[] leftSource, int[] leftDest, int[] filterPositions, long[] filterValues) -
setLeftFilter
public void setLeftFilter(int[] filterPositions, long[] filterValues) -
evaluationFinished
- Overrides:
evaluationFinished
in classProcessImp
- Throws:
ReasoningException
IOException
-
evaluationFinished
Description copied from interface:Process
the whole evaluation is finished- Specified by:
evaluationFinished
in interfaceProcess
- Overrides:
evaluationFinished
in classProcessImp
- Throws:
ReasoningException
IOException
-