Acyclic Connected Graphs - Trees
Free Tree
A free tree is an undirected, connected and acyclic graph
- They are not the same as rooted trees, the hierarchical data structure we are used to.
- In fact, they have no root nor hierarchy.
If
- Any edge we remove or add, will contradict the definition of tree
- They are fragile structures
Theorem: property of free trees
Let
is a free tree - Any pair of vertices
are connected by a unique path is connected but if any edge is removed, it becomes disconnected is connected and is acyclic and imply that is a free tree is acyclic but if any edge is added, it becomes cyclic
Rooted Tree
A rooted tree is a pair
is a free tree is a vertex of the tree, called "root"
Forest
A forest is an acyclic graph. A forest is a graph composed of