Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Terminal yield
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Leave sequence in formal language}} {{Unreferenced stub|auto=yes|date=December 2009}} In [[formal language theory]], the '''terminal yield''' (or '''fringe''') of a [[tree data structure|tree]] is the sequence of leaves encountered in an ordered walk of the tree. Parse trees and/or derivation trees are encountered in the study of [[phrase structure grammar]]s such as [[context-free grammar]]s or [[linear grammar]]s. The leaves of a derivation tree for a [[formal grammar]] ''G'' are the [[terminal symbol]]s of that grammar, and the internal nodes the [[nonterminal]] or variable symbols. One can read off the corresponding terminal string by performing an ordered [[tree traversal]] and recording the terminal symbols in the order they are encountered. The resulting sequence of terminals is a string of the language ''L''(''G'') generated by the grammar ''G''. {{DEFAULTSORT:Terminal Yield}} [[Category:Formal languages]] {{Formalmethods-stub}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)