Information about Tree Structure
A tree structure showing the possible hierarchical organization of an encyclopedia. This specific example happens to be a complete binary tree, which means all nodes have exactly zero or two child nodes.
The original Encyclopédie actually used a tree diagram to show which way its subjects were ordered.
A tree structure is a way of representing the hierarchical nature of a structure in a graphical form. It is named a "tree structure" because the graph looks a bit like a tree, even though the tree is generally shown upside down compared with a real tree; that is to say with the root at the top and the leaves at the bottom.
In graph theory, a tree is a connected acyclic graph (or sometimes, a connected directed acyclic graph in which every vertex has indegree 0 or 1). An acyclic graph which is not necessarily connected is sometimes called a forest (because it consists of trees).
Nomenclature and properties
Every tree structure has a member that has no superior. This member is called the "root" or root node. It can be thought of as the starting node The converse is not true: infinite tree structures need not have a root node.The lines connecting elements are called "branches", the elements themselves are called "nodes". Nodes without children are called "end-nodes" or "leaves".
The names of relationships between nodes are modeled after family relations. In computer science, traditionally only names for male family members had been used. In linguistics, the names of female family members are used. It is said that this was an express countermovement to the traditional naming convention, started by the female students of linguist Noam Chomsky. However, nowadays, in computer science at least, the gender-neutral names "parent" and "child" have largely displaced the older "father" and "son" terminology, although the term "uncle" is still used for other nodes at the same level as the parent.
- A node is a "parent" of another node if it is one step higher in the hierarchy and closer to the root node.
- "Sibling" ("brother" or "sister") nodes share the same parent node.
- A node that is connected to all lower-level nodes is called an "ancestor".
Tree structures are used to depict all kinds of taxonomic knowledge, such as family trees, the evolutionary tree, the grammatical structure of a language (the famous example being S → NP VP, meaning a sentence is a noun phrase and a verb phrase), the way web pages are logically ordered in a web site, et cetera.
In a tree structure there is one and only one path from any point to any other point.
Tree structures are used extensively in computer science (see Tree (data structure)) and telecommunications.
Examples of tree structures
- Internet: usenet hierarchy, Document Object Model's logical structure[1], Yahoo! subject index, Open Directory Project
- Information management: Dewey Decimal System
- Management: hierarchical organizational structures
- Computer Science: binary search tree
- Biology: evolutionary tree
- Business: pyramid selling scheme
- Project management: work breakdown structure
Representing trees
There are many ways of visually representing tree structures. Almost always, these boil down to variations, or combinations, of a few basic styles:- Classical node-link diagrams, that connect nodes together with line segments:
>
encyclopedia
/ science culture
/ art craft
- Nested sets that use enclosure/containment to show parenthood (for an interesting variation on this, see Treemaps):
>
+------encyclopedia------+
| +--culture--+ |
| science |art craft| |
| +-----------+ |
+------------------------+
- Layered "icicle" diagrams that use alignment/adjacency:
>
+-------------------+
| encyclopedia |
+---------+---------+
| science | culture |
+---------+---+-----+
|art|craft|
+---+-----+
- Diagrams that use indentation, sometimes called "outlines" or "tree views":
>
encyclopedia
science
culture
art
craft
- Nested parentheses, a correspondence first noticed by Sir Arthur Cayley
> (science,(art,craft)culture)encyclopediaIdentification of some of these basic styles can be found in:
- Jacques Bertin, Sémiologie graphique, 1967, Éditions Gauthier-Villars, Paris (2nd edition 1973, English translation 1983);
- Donald E. Knuth, The Art of Computer Programming, Volume I: Fundamental Algorithms, 1968, Addison-Wesley, pp. 309-310;
- Brian Johnson and Ben Shneiderman, Tree-maps: A space-filling approach to the visualization of hierarchical information structures, in Proceedings of IEEE Visualization (VIS), 1991, pp. 284-291;
- Peter Eades, Tao Lin, and Xuemin Lin, Two Tree Drawing Conventions, International Journal of Computational Geometry and Applications, 1993, volume 3, number 2, pp. 133-153.
See also
- Kinds of trees:
- Related articles:
External links
References
hierarchy (in Greek: Ἱεραρχία, derived from ἱερός — hieros, 'sacred', and
..... Click the link for more information.
..... Click the link for more information.
Structure is a fundamental and sometimes intangible notion covering the recognition, observation, nature, and stability of patterns and relationships of entities. From a child's verbal description of a snowflake, to the detailed scientific analysis of the properties of magnetic
..... Click the link for more information.
..... Click the link for more information.
tree is a perennial woody plant. It is sometimes defined as a woody plant that attains diameter of 10 cm (30 cm girth) or more at breast height (130 cm above ground).
..... Click the link for more information.
..... Click the link for more information.
graph theory is the study of graphs; mathematical structures used to model pairwise relations between objects from a certain collection. A "graph" in this context refers to a collection of vertices or 'nodes' and a collection of edges
..... Click the link for more information.
..... Click the link for more information.
In graph theory, a tree is a graph in which any two vertices are connected by exactly one path. Alternatively, any connected graph with no cycles is a tree. A forest is a disjoint union of trees.
..... Click the link for more information.
..... Click the link for more information.
directed acyclic graph, also called a dag or DAG, is a directed graph with no directed cycles; that is, for any vertex v, there is no nonempty directed path that starts and ends on
..... Click the link for more information.
..... Click the link for more information.
degree (or valency) of a vertex is the number of edges incident to the vertex. The degree of a vertex is denoted .
For an undirected graph, the degree of a vertex is the number of edges incident to the vertex.
..... Click the link for more information.
Undirected graphs
For an undirected graph, the degree of a vertex is the number of edges incident to the vertex.
..... Click the link for more information.
In graph theory, a tree is a graph in which any two vertices are connected by exactly one path. Alternatively, any connected graph with no cycles is a tree. A forest is a disjoint union of trees.
..... Click the link for more information.
..... Click the link for more information.
In a hierarchy or tree structure of any kind, a superior is an individual or position at a higher level in the hierarchy than another (a "subordinate"), and thus closer to the apex.
..... Click the link for more information.
..... Click the link for more information.
tree is a widely-used data structure that emulates a tree structure with a set of linked nodes.
..... Click the link for more information.
Nodes
A node may contain a value or a condition or represents a separate data structure or a tree of its own...... Click the link for more information.
A node is an abstract basic unit used to build linked data structures, such as linked lists and trees, and computer-based representation of graphs. Nodes contain data and/or links to other nodes. Links between nodes are often implemented by pointers or references.
..... Click the link for more information.
..... Click the link for more information.
Avram Noam Chomsky (Hebrew: אברם נועם חומסקי Yiddish: אברם נועם כאמסקי) (born December 7, 1928) is an American
..... Click the link for more information.
..... Click the link for more information.
For the science of classifying living things, see .
Taxonomy is the practice and science of classification. The word comes from the Greek τάξις, taxis, 'order' +
..... Click the link for more information.
A family tree is generally the totality of 'ones ancestors represented as a tree structure, or more specifically, a chart used in genealogy. The image of the tree probably originated with one in medieval art of the Tree of Jesse, used to illustrate the Genealogy of Christ
..... Click the link for more information.
..... Click the link for more information.
A phylogenetic tree, also called an evolutionary tree, is a tree showing the evolutionary relationships among various biological species or other entities that are believed to have a common ancestor.
..... Click the link for more information.
..... Click the link for more information.
In graph theory, a path in a graph is a sequence of vertices such that from each of its vertices there is an edge to the next vertex in the sequence. The first vertex is called the start vertex and the last vertex is called the end vertex.
..... Click the link for more information.
..... Click the link for more information.
Computer science, or computing science, is the study of the theoretical foundations of information and computation and their implementation and application in computer systems.
..... Click the link for more information.
..... Click the link for more information.
tree is a widely-used data structure that emulates a tree structure with a set of linked nodes.
..... Click the link for more information.
Nodes
A node may contain a value or a condition or represents a separate data structure or a tree of its own...... Click the link for more information.
Telecommunication is the transmission of signals over a distance for the purpose of communication. In modern times, this process typically involves the sending of electromagnetic waves by electronic transmitters, but in earlier times telecommunication may have involved the use of
..... Click the link for more information.
..... Click the link for more information.
Document Object Model (DOM) is a platform- and language-independent standard object model for representing HTML or XML and related formats.
A web browser is not obliged to use DOM in order to render an HTML document.
..... Click the link for more information.
A web browser is not obliged to use DOM in order to render an HTML document.
..... Click the link for more information.
Open Directory Project (ODP), also known as dmoz (from directory.mozilla.org, its original domain name), is a multilingual open content directory of World Wide Web links owned by Netscape that is constructed and maintained by a community of volunteer editors.
..... Click the link for more information.
..... Click the link for more information.
- ''For the similar-sounding numeral system see duodecimal system.
The Dewey Decimal Classification (DDC, also called the Dewey Decimal System
..... Click the link for more information.
An organization (or organisation — see spelling differences) is a social arrangement which pursues collective goals, which controls its own performance, and which has a boundary separating it from its environment.
..... Click the link for more information.
..... Click the link for more information.
binary search tree (BST) is a binary tree data structure which has the following properties:
..... Click the link for more information.
- Each node has a value.
- A total order is defined on these values.
- The left subtree of a node contains only values less than the node's value.
..... Click the link for more information.
A phylogenetic tree, also called an evolutionary tree, is a tree showing the evolutionary relationships among various biological species or other entities that are believed to have a common ancestor.
..... Click the link for more information.
..... Click the link for more information.
pyramid scheme is a non-sustainable business model that involves the exchange of money primarily for enrolling other people into the scheme, usually without any product or service being delivered.
..... Click the link for more information.
..... Click the link for more information.
This article or section appears to contain a large number of buzzwords and may require cleanup.
Please help [ rewrite this article] to make it more concrete and meaningful, removing tautologies, obvious statements and excessive abstraction.
..... Click the link for more information.
Please help [ rewrite this article] to make it more concrete and meaningful, removing tautologies, obvious statements and excessive abstraction.
..... Click the link for more information.
tree view or an outline view is a graphical user interface element (widget) that presents a hierarchial view of information. Each item (often called a branch or a node) can have a number of subitems. This is often visualized by indentation in a list.
..... Click the link for more information.
..... Click the link for more information.
Arthur Cayley
Arthur Cayley
Born July 16 1821
Richmond, Surrey, UK
Died January 26 1895 (aged 75)
Cambridge, UK
..... Click the link for more information.
Arthur Cayley
Born July 16 1821
Richmond, Surrey, UK
Died January 26 1895 (aged 75)
Cambridge, UK
..... Click the link for more information.
Donald Ervin Knuth
Photographed by Jacob Appelbaum, 25 October 2005
Born January 10 1938
..... Click the link for more information.
Photographed by Jacob Appelbaum, 25 October 2005
Born January 10 1938
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus