<?xml version="1.0" encoding="UTF-8"?>

<record version="2" id="2742">
 <title>parent node (in a tree)</title>
 <name>ParentNodeInATree</name>
 <created>2002-03-02 11:52:56</created>
 <modified>2002-03-02 13:06:57</modified>
 <type>Definition</type>
 <creator id="2" name="akrowne"/>
 <author id="2" name="akrowne"/>
 <classification>
	<category scheme="msc" code="05C05"/>
 </classification>
 <synonyms>
	<synonym concept="parent node (in a tree)" alias="parent node"/>
	<synonym concept="parent node (in a tree)" alias="parent"/>
 </synonyms>
 <related>
	<object name="ChildNodeOfATree"/>
 </related>
 <preamble>\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

%\usepackage{psfrag}
%\usepackage{graphicx}
\usepackage{xypic}
\xyoption{all}
\usepackage{color}</preamble>
 <content>A \emph{parent} node $P$ of a node $C$ in a tree is the first node which lies along the path from $C$ to the root of the tree, $R$.

Drawn in the canonical root-at-top manner, the parent node of a node $C$ in a tree is simply the node immediately above $C$ which is connected to it.

\begin{center}

$$\xymatrix{
&amp; \bullet \ar@{-}[dl] \ar@{-}[dr] &amp; &amp; &amp; \\
\bullet &amp; &amp; {\color{red}\bullet} \ar@{-}[dr]\ar@{-}[dl] &amp; &amp; \\
&amp; \bullet \ar@{-}[dl] &amp; &amp; {\color{blue}\bullet} &amp; \\
\bullet &amp; &amp; &amp; &amp; }$$

{\tiny Figure: A node (blue) and its parent (red.)}
\end{center}</content>
</record>
