Talk:Tree datastructures: Difference between revisions

Content added Content deleted
Line 63: Line 63:
The head tree:
The head tree:
- has the first line of the outline as its value
- has the first line of the outline as its value
- and has a child list
- and has a (possibly empty) child list
which is the forest structure of all the lines:
which is the forest structure of all the lines (if any) which:
- following the first line,
- follow the first line,
- and preceding the next peer
- and precede its next peer
(the next line that shares the first's indent level)
(the next line that shares the first's indent level)
The tail forest has the structure of the remaining outline,
The tail forest has the structure of the remaining outline,