Input: primitive name list pName, tag name list tName, input position index list i, and output position index list j in history record of unit data, blocking queue in following query primitive , region encoding , relation index , and global result .
Output: none. The local results are processed in the algorithm: either put into the queue or output directly to the global result.
(1)
s ← primitiveName.size;//get the number of primitives contained in stage.
(2)
← CreateQueue(s);//create s local blocking queues.
(3)
run(){//the start of the executive body
(4)
while(true)//processing of the 1st query primitive