diff options
author | Marcin Chrzanowski <mc370754@students.mimuw.edu.pl> | 2021-12-09 15:39:00 +0100 |
---|---|---|
committer | Marcin Chrzanowski <mc370754@students.mimuw.edu.pl> | 2021-12-09 15:39:00 +0100 |
commit | 2ea016d15ca9f777fc99e9f6b2b5a144b056da23 (patch) | |
tree | 2ec5c19f10a17fdbffecda7ee6cbde18efd5c582 | |
parent | 5d066e0ec498994d91d9890f96655d8bfd575496 (diff) |
Specify rooted trees
-rw-r--r-- | mgr.tex | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -202,13 +202,14 @@ The rest of our work is organized in the following way: \section{Definitions} \subsection{Trees} -We work with finite trees whose vertices are labeled with letters from a finite -alphabet. More formally, given a finite alphabet $\Sigma$, for each $a \in -\Sigma$, $a$ is a tree, and if $t_1, \ldots, t_k$ are trees, then $a(t_1, +We work with finite rooted trees whose vertices are labeled with letters from a +finite alphabet. More formally, given a finite alphabet $\Sigma$, for each $a +\in \Sigma$, $a$ is a tree, and if $t_1, \ldots, t_k$ are trees, then $a(t_1, \ldots, t_k)$ is also a tree. A tree $T$ can then also be seen as an acyclic -undirected graph with vertex set $V(T)$ and edge set $E(T)$. +undirected graph with vertex set $V(T)$ and edge set $E(T)$, with a +distinguished root vertex $r \in V(T)$. -We use the standard notions of root, child, sibling, ancestor, descendant, etc. +We use the standard notions of leaf, child, sibling, ancestor, descendant, etc. Binary trees are trees where each node has either no children (the node is a leaf), or exactly two children (which, based on their order, can be called the |