-
Notifications
You must be signed in to change notification settings - Fork 6
/
05C05-ChildNodeofATree.tex
47 lines (40 loc) · 1.29 KB
/
05C05-ChildNodeofATree.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\documentclass[12pt]{article}
\usepackage{pmmeta}
\pmcanonicalname{ChildNodeofATree}
\pmcreated{2013-03-22 12:30:37}
\pmmodified{2013-03-22 12:30:37}
\pmowner{akrowne}{2}
\pmmodifier{akrowne}{2}
\pmtitle{child node (of a tree)}
\pmrecord{4}{32744}
\pmprivacy{1}
\pmauthor{akrowne}{2}
\pmtype{Definition}
\pmcomment{trigger rebuild}
\pmclassification{msc}{05C05}
\pmsynonym{child node}{ChildNodeofATree}
\pmsynonym{child}{ChildNodeofATree}
\pmrelated{ParentNodeInATree}
\endmetadata
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
%\usepackage{psfrag}
%\usepackage{graphicx}
%%\usepackage{xypic}
\xyoption{all}
\usepackage{color}
\begin{document}
A \emph{child node} $C$ of a node $P$ in a tree is any node connected to $P$ which has a path distance from the root node $R$ which is one greater than the path distance between $P$ and $R$.
Drawn in the canonical root-at-top manner, a child node of a node $P$ in a tree is simply any node immediately below $P$ which is connected to it.
\begin{center}
$$\xymatrix{
& \bullet \ar@{-}[dl] \ar@{-}[dr] & & & \\
\bullet & & {\color{blue}\bullet} \ar@{-}[dr]\ar@{-}[dl] & & \\
& {\color{red}\bullet} \ar@{-}[dl] & & {\color{red}\bullet} & \\
\bullet & & & & }$$
{\tiny Figure: A node (blue) and its children (red.)}
\end{center}
%%%%%
%%%%%
\end{document}