Difference between revisions of "Focus"

From Organic Design wiki
(this and parent globals)
m
Line 4: Line 4:
 
= Parent =
 
= Parent =
 
The node from which a [[quantum]] arrives is a node's [[parent]] and is accessed via the [[nodePARENT]] association. The value of ''nodePARENT'' is maintained by [[nodal reduction]] rather than by the loop insert/remove functions so that moving a node from one node's focus to another's is an O<sub>1</sub>. At [[w:runtime|runtime]], the ''parent'' of the currently executing ''[[this]]'' node is also available as a global variable.
 
The node from which a [[quantum]] arrives is a node's [[parent]] and is accessed via the [[nodePARENT]] association. The value of ''nodePARENT'' is maintained by [[nodal reduction]] rather than by the loop insert/remove functions so that moving a node from one node's focus to another's is an O<sub>1</sub>. At [[w:runtime|runtime]], the ''parent'' of the currently executing ''[[this]]'' node is also available as a global variable.
 +
*Parent-child (instance axis) is the tree of nodes formed by the current-[[loop]]s which undergo reduction (the ''now''). The class axis is the tree of all associations. --[[User:Nad|Nad]] 15:21, 20 Aug 2006 (NZST)

Revision as of 21:40, 14 November 2006

The value of a node is obtained by using 0 as the binary traversal key (i.e association which actually means not to traverse anywhere at all). A node's focus is the item in its loop which will receive the next quantum of execution from nodal reduction.

Parent

The node from which a quantum arrives is a node's parent and is accessed via the nodePARENT association. The value of nodePARENT is maintained by nodal reduction rather than by the loop insert/remove functions so that moving a node from one node's focus to another's is an O1. At runtime, the parent of the currently executing this node is also available as a global variable.

  • Parent-child (instance axis) is the tree of nodes formed by the current-loops which undergo reduction (the now). The class axis is the tree of all associations. --Nad 15:21, 20 Aug 2006 (NZST)