java.lang.Object
de.grogra.xl.impl.base.Producer
de.grogra.xl.impl.simple.SimpleProducer
-
Field Summary
Fields inherited from class de.grogra.xl.impl.base.Producer
addNodeQueue, deleteEdgeQueue, deleteNodeQueue
Fields inherited from interface de.grogra.xl.query.Producer
DOUBLE_ARROW, EXECUTION_ARROW, SIMPLE_ARROW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
operator$arrow
(Node node, int edge) operator$space
(Node node) boolean
producer$beginExecution
(int arrow) This method is invoked by the XL run-time system in order to notify the producer about the beginning of a right-hand side (i.e., a match for the left-hand side has been found, and the right-hand side is executed).void
void
producer$endExecution
(boolean applied) This method is invoked by the XL run-time system in order to notify the producer about the end of the execution of a right-hand side.producer$pop
(Object oldProducer) Methods inherited from class de.grogra.xl.impl.base.Producer
addEdgeImpl, addNodeImpl, addNodeImplMS, connect, consume, copyIncoming, copyOutgoing, cut, execute, getFirstLastScale, getFirstLastScale, getPreviousNode, getQueryState, getQueue, getQueues, interpretive, moveIncoming, moveOutgoing, nodeUsed, popImpl, producer$cliqueBegin, producer$cliqueEnd, producer$getGraph, producer$visitEdge, pushImpl, separateImpl, setConnectionEdges, setInConnectionEdges, setOutConnectionEdges, useOperators
-
Constructor Details
-
SimpleProducer
-
-
Method Details
-
producer$getRoot
-
operator$space
-
producer$push
-
producer$separate
-
producer$begin
-
producer$end
public void producer$end() -
producer$pop
-
operator$arrow
-
applyDerivation
public void applyDerivation() -
producer$beginExecution
public boolean producer$beginExecution(int arrow) Description copied from interface:Producer
This method is invoked by the XL run-time system in order to notify the producer about the beginning of a right-hand side (i.e., a match for the left-hand side has been found, and the right-hand side is executed).- Specified by:
producer$beginExecution
in interfaceProducer
- Overrides:
producer$beginExecution
in classProducer
- Parameters:
arrow
- the type of rule arrow, one ofProducer.SIMPLE_ARROW
,Producer.DOUBLE_ARROW
,Producer.EXECUTION_ARROW
- Returns:
true
if the right-hand side shall be executed,false
if its execution shall be skipped
-
producer$endExecution
public void producer$endExecution(boolean applied) Description copied from interface:Producer
This method is invoked by the XL run-time system in order to notify the producer about the end of the execution of a right-hand side.- Specified by:
producer$endExecution
in interfaceProducer
- Overrides:
producer$endExecution
in classProducer
- Parameters:
applied
- return value of invocation ofProducer.producer$beginExecution(int)
-