orc.runtime.nodes
Class Subgoal

java.lang.Object
  extended by orc.runtime.nodes.Node
      extended by orc.runtime.nodes.Subgoal
All Implemented Interfaces:
java.io.Serializable

public class Subgoal
extends Node

A compiled pull node

Author:
dkitchin, wcook
See Also:
Serialized Form

Constructor Summary
Subgoal(Node left, Node right)
           
 
Method Summary
 void process(Token t)
          Executing a subgoal node creates a new group within the current group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subgoal

public Subgoal(Node left,
               Node right)
Method Detail

process

public void process(Token t)
Executing a subgoal node creates a new group within the current group. The input token is copied and the variable is associated with this group cell for execution of the left side of the pull. The token is then moved to the right side and it is associated with the new group.

Specified by:
process in class Node
Parameters:
t - input token being processed