Difference between revisions of "Focus"

From Organic Design wiki
m
Line 1: Line 1:
 
[[Category:Nodal Concepts]]
 
[[Category:Nodal Concepts]]
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]].
+
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]], and the node from which a [[quantum]] arrives is a node's [[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.
 
*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 00:14, 24 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, and the node from which a quantum arrives is a node's parent.