Professional Documents
Culture Documents
20-Aug-22 1
Department of Computer Science Engineering
1
INDEX
Sl. NO. TOPIC NAME PAGE NO.
1. Abstract 3
2. Introduction 4
3. Basics of Graph 4
Theory
4. Types of Graph Theory 6
5. Properties of a Graph 11
6. Theorems of Graph 12
7. Applications of Graph 14
Theory in Computer
Science
8. Conclusion 17
9. Bibliography 18
10. Acknowledgement 19
11. Glossary 20
2
Abstract:
Graphs are thought to be a fantastic modelling
tool that may be used to model a variety of
relationships between any physical situation.
Graphs can be used to represent a wide range
of real-world issues. In order to illustrate the
value of graph theory, this paper examines
various concepts related to it and how they are
used in computer science. These Examples
Are Specifically Presented To Project The
Concept Of Graph Theory And To Illustrate Its
Purpose And Importance In Computer Science
Engineering. Connectivity, constraints,
colouring and drawing of graphs, and graphs.
In some ways, this paper provides an overview
of Graph Theory's applications in
heterogeneous fields, however it primarily
focuses on computer science applications
that make use of Graph Theoretical
concepts.
3
INTRODUCTION
Graph Theory is a branch of discrete mathematics. In
mathematics and computer science, graph theory is the
study of graphs which are mathematical structures used
to model pair wise relations between objects. There is
wide use of graphs in providing problem solving
techniques, because it gives an intuitive manner prior to
presenting formal definition. To analyze the graph theory
application two problem areas are considered-----1.
Classical problem 2. Problems from applications.
6
Undirected graph: A graph in which the direction of
the edge is not defined.So if an edge exists between node ‘u’ and
‘v’,then there is a path from node ‘u’ to ‘v’ and vice versa.
7
Complete graph: A full graph is a straightforward n-vertex
graph with exactly one edge connecting every pair of vertices. K n stands
for a complete graph with n vertices. In a complete graph, there are n
vertices and n*(n-1)/2 edges total.
SIMPLE GRAPH
8
MULTIGRAPH
NULL GRAPH
9
Types of Subgraph:
Vertex disjoint subgraph: Any two graph G1 = (V1, E1)
and G2 = (V2, E2) are said to be vertex disjoint of a graph
G = (V, E) if V1(G1) intersection V2(G2) = null. In figure
there is no common vertex between G1 and G2.
Edge disjoint subgraph: A subgraph is said to be edge
disjoint if E1(G1) intersection E2(G2) = null. In figure there
is no common edge between G1 and G2.
10
REGULAR GRAPH
Properties of a Graph:-
Radius of a Connected Graph- The minimum eccentricity from
all the vertices is considered as the radius of the Graph G. The minimum
among all the maximum distances between a vertex to all other vertices is
considered as the radius of the Graph G.
Notation − r(G).
Example − In the above graph r(G) = 2, which is the minimum eccentricity
for ‘d’.
11
Centre- The set of all central points of ‘G’ is called the centre of the
Graph.
Example − In the example graph, {‘d’} is the centre of the Graph.
Girth- The number of edges in the shortest cycle of ‘G’ is called its
Girth.
Notation − g(G).
Example − In the example graph, the Girth of the graph is 4, which we
derived from the shortest cycle a-c-f-d-a or d-f-g-e-d or a-b-e-d-a.
THEOREMS OF GRAPH:
THEOREM 1: The maximum degree of any vertex in a
simple graph with n vertices is n-1.
12
THEOREM 7: The minimum no. of edges in a simple graph
(not necessarily connected) with n vertices is n-k, where k is the no.
of connected components of the graph.
14
A.Network System:-
To analyze the graph theory application in networking two
areas are considered:
B. Data Structure:-
❖ It must be rich enough in structure to mirror actual
relationship of data in real world.
❖ During requirements
specification, data flow
diagrams are used where
vertices represent
transformations and edges
represents the data flows
15
C. Data mining:-
Graph mining is the main application area of graph theory in
data mining. There are five theoretical based approaches of
graph based data mining. They are:
❑ SUB GRAPH CATEGORIES
❑ GRAPH INVARIANTS
❑ MINING MEASURES
➢ Graph databases are often faster for associative data sets that
map more directly to the structure of object-
oriented applications.
E. Image
Processing:-
To find edge boundaries
using graph search
algorithms in
segmentation.
To calculate he alignment
of the picture.
16
CONCLUSION
17
BIBLIOGRAPHY
The following resources has been used for the successful
completion of the report on Graph Theory and it’s Applications
on Computer Science and Engineering:-
https://www.tutorialspoint.com/theory of graphs
https://www.geeksforgeeks.org/graphs in mathematics
https://www.tutorialspoint.com/graph_theory_types_of_gr
aphs.htm
18
ACKNOWLEDGEMENT
19
GLOSSARY
Square brackets [ ]:-
G[S] is the induced subgraph of a graph G for vertex subset S.
achromatic:-
The achromatic number of a graph is the maximum number of colors in a complete
colouring.
acyclic:-
1. A graph is acyclic if it has no cycles. An undirected acyclic graph is the same thing
as a forest. An acyclic directed graph, which is a digraph without directed cycles, is
often called a directed acyclic graph, especially in computer science.
2. An acyclic coloring of an undirected graph is a proper colouring in which every two
color classes induce a forest.
adjacency matrix:-
The adjacency matrix of a graph is a matrix whose rows and columns are both
indexed by vertices of the graph, with a one in the cell for row i and column j when
vertices i and j are adjacent, and a zero otherwise.
adjacent:-
1. The relation between two vertices that are both endpoints of the same edge.
2. The relation between two distinct edges that share an end vertex.
automorphism:-
A graph automorphism is a symmetry of a graph, an isomorphism from the graph to
itself.
20