Professional Documents
Culture Documents
Graph Theory
The graph is a collection of circles,
called nodes or vertices, which are
linked by a series of lines called edges.
The analysis of graphics or graph
theory is an important aspect of a
variety of studies in the fields of
mathematics , engineering and
computer science.
Tree
A tree is a finite set of one or more nodes, such
as –
Each node can have any number of edges. General trees consist of the nodes having
any number of child nodes. But in case of
binary trees every node can have at the
most two child nodes.
There is no unique node called root in There is a unique node called root in trees.
graph.
Applications: For finding shortest path in Applications: For game trees, decision
networking graph is used. trees, the tree is used.