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, depth, firstPart, prevNode, restoreContextFlagFields inherited from interface de.grogra.xl.query.Producer
DOUBLE_ARROW, EXECUTION_ARROW, SIMPLE_ARROW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoperator$arrow(Node node, int edge) operator$space(Node node) booleanproducer$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).voidvoidproducer$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, addToClique, connect, consume, copyIncoming, copyOutgoing, cut, execute, getArrow, getInConnectionEdges, getOutConnectionEdges, getPreviousNode, getQueryState, getQueue, getQueues, interpretive, isUseOperators, moveIncoming, moveOutgoing, nodeUsed, popImpl, processRule, producer$cliqueBegin, producer$cliqueEnd, producer$getGraph, producer$visitEdge, pushImpl, restoreContextImpl, 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:ProducerThis 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$beginExecutionin interfaceProducer- Overrides:
producer$beginExecutionin classProducer- Parameters:
arrow- the type of rule arrow, one ofProducer.SIMPLE_ARROW,Producer.DOUBLE_ARROW,Producer.EXECUTION_ARROW- Returns:
trueif the right-hand side shall be executed,falseif its execution shall be skipped
-
producer$endExecution
public void producer$endExecution(boolean applied) Description copied from interface:ProducerThis 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$endExecutionin interfaceProducer- Overrides:
producer$endExecutionin classProducer- Parameters:
applied- return value of invocation ofProducer.producer$beginExecution(int)
-