You are on page 1of 4

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/353285726

Graph Theory and its Applications in Computer Science and Engineering

Article in International Journal of Engineering and Management Research · August 2015

CITATION READS
1 3,742

2 authors:

Vinutha Ms Arathi Puranik


Dr. Ambedkar Institute of Technology Dr. Ambedkar Institute of Technology
9 PUBLICATIONS 14 CITATIONS 2 PUBLICATIONS 10 CITATIONS

SEE PROFILE SEE PROFILE

All content following this page was uploaded by Vinutha Ms on 16 July 2021.

The user has requested enhancement of the downloaded file.


www.ijemr.net ISSN (ONLINE): 2250-0758, ISSN (PRINT): 2394-6962

Volume-5, Issue-4, August-2015


International Journal of Engineering and Management Research
Page Number: 317-319

Graph Theory and its Applications in Computer Science and Engineering


M S Vinutha1, Arathi P2
1,2
Assistant Professor, Department of CSE, Dr. Ambedkar Institute of Technology, Banagalore, INDIA

ABSTRACT Kirchhoff in 1845 used theoretical concepts of graph to


Mathematics plays an important role in various fields. calculate currents in electrical circuits. In 1852 famous four
The use of mathematics is also seen indifferent areas of color problem was found by Thomas Gutherie and it was
computer science such as design of algorithms, Artificial solved by Kenneth Appel and Wolfgang Haken. The well
intelligence, software architecture, multiprocessing etc. Graph known Hamiltonian graph was invented by Thomas P
theory is an important field in mathematics which is used in
structural models. Graph can be used in research areas of
Kirkman and William R Hamilton in 1856. This period was
computer science such as data mining, clustering, image considered as the Birth of Graph Theory [1].
capturing, networking, data structure etc. This paper gives an
overview of graph concepts and applications of graph III. GRAPHS
application in various fields of computer science.
A graph is a collection of points called nodes or
Keywords---- Graphs, Graph coloring, connectivity, vertices connected by lines called arcs or edges. Depending
Bipartite graph on problems the graph considered may be an undirected
graph or directed graph. In some situations edges may be a
loop or a weighted edge. Graphs have many features and
some of them are providing abstract view, establishing
I. INTRODUCTION relation between objects, easy modification or extension in
the existing system and decision making ability.
Graph theoretical concepts are widely used to To study and model various applications in
study and model various application in different fields. In different areas graph theoretical concepts are used. In
computer science graph theory is the study of graphs which chemistry to study atoms, molecules and constructions of
are mathematical structures used to model pair wise relations bonds graph concepts are used. In biology to study breeding
between objects from certain collection. Graph can also be patterns, tracking spread of disease, impact of migrations
represented as tree which is used in designing data structures that affects other species use graph theory. In operation
making use of vertices and edges. Forming an efficient LAN research to solve travelling sales man problem, locating
using network topologies, fault diagnostics in computer shortest path between two vertices and obtaining optimal
network, finding shortest route in travelling salesman match of jobs graphs are used. In large complicated projects
problem, resource allocation and scheduling uses path, walk, for planning and scheduling graphs are used. Graphs are
circuit, cut sets, coloring and other concepts of graph theory. used to solve problems in engineering, economics and war
science to find optimal way to complete tasks in competitive
II. HISTORY environment.

The field graph theory stated with Konigsberg IV. ALGORITHM and LANGUAGES
bridge problem or seven bridge problem in 1735. Euler
studied this problem and formed a structure to solve this The key role of graph theory in computer science is the
problem called Eulerian graph. In 1840 A. F Mobius development of algorithms. These algorithms are used to
introduced idea of complete graph, bipartite graph and solve problems that are modelled in the form of graphs.
Kuratowski graph that are used in planar detection. Gustav Some algorithms are as follows:

317 Copyright © 2011-15. Vandana Publications. All Rights Reserved.


www.ijemr.net ISSN (ONLINE): 2250-0758, ISSN (PRINT): 2394-6962

1. DFS and BFS algorithm for searching elements in then the same aircraft cannot be assigned to both the flights.
data structures. This problem is modeled as a graph as follows. The flights
2. Elementary reduction for finding graphs planarity. are represented as nodes of the graph .Two nodes will be
3. Dijkstra’s algorithm to find shortest path in a connected, if the corresponding time intervals overlap.
network. Therefore, the graph is an interval graph that can be colored
4. Algorithm to find connectedness. optimally in polynomial time. [4]
5. Algorithm to find minimal spanning tree and so on. Time table scheduling: Allocation of classes and
Various computer language support graph theory subjects to the teachers is one of the major issues if the
concepts. The main goal of such language is make user to constraints are complex. Graph theory plays an important
perform operations on graphs in compact and natural role in this problem. For m teachers with n subjects the
manner. Some graph theoretical languages are: available number of p periods timetable has to be prepared.
1. GIRL-Graph Information Retrieval Language. Computer hardware: Graph theory concepts are used
2. FGRAAL- FORTRAN Extended Graph in computer hardware to model the limitation of the physical
Algorithmic Language. layer. Graph theory concepts are used in hardware world to
3. GTPL- Graph Theoretic Language provide register allocation by graph coloring and adjacency
4. GASP-Graph Algorithm software package. matrix to represent instruction sequence.
5. SPANTREE- To Find a Spanning tree in a graph.
6. HINT and GRASPE-Extension of LISP and so on VI. CONNECTIVITY, ADJACENCY
[2].
Software engineering: Graph has many
V. APPLICATIONS OF GRAPH & ITS applications in software engineering. Data Flow diagrams
CONCEPT IN COMPUTER SCIENCE are used to specify requirements specification where vertices
represent transformations and edges represents the data
Graph coloring: it is assigning colors to the flows. Graphical design is used in design phase, for
vertices of graph with minimal number colors such that no to describing relations among modules. During Testing the
adjacent vertices will have same color as shown in figure-1 . control flow of a program associated with complexity
The minimum color used for coloring is called chromatic measure uses directed graphs. Network diagrams are used in
number. This has variety of applications in scheduling. Software Process Management which involves graph
algorithms.[8]
Network system: Graph theory has wide
application in networking field. Graph theory application in
networking includes two areas: graph based representation
and network theory. Graph based representation gives
different point of view and makes problem much easier. It
provides more accurate definition. Network theory provides
a set of techniques for analyzing a graph and applying
network theory using a graph representation. The term graph
and network are same. Both refer to a type of structure in
which there exists nodes and edges. Graph concept like can
be used to issues like connectivity, routing, topology, traffic
analysis etc.[5]
Figure-1 chromatic number of graph is 4
Image processing: Information from images is
extracted by image analysis methodology. Image analysis is
Operating system: A graph is a data structure of
mainly performed on digital image processing techniques.
finite set of pairs, called nodes and edges. Many problems in
Graph theoretic approach improves image processing
the field of operating system such as job scheduling and
techniques. The applications of graphs in image processing
resource allocation problems can be solved with the help of
are:
graph. Graph coloring concept can be applied in job
 To find edge boundaries using graph search
scheduling problems of CPU, jobs are assumed as nodes of
algorithms in segmentation.
the graph and there will be an edge between two jobs that
 To calculate the alignment of the picture.
cannot be executed simultaneously and there will be one to
 Finding mathematical constraints such as entropy
one relationship between feasible scheduling of graphs. [3]
by using minimum spanning tree.
Aircraft scheduling: Assuming that there are k aircrafts
and they have to be assigned n flights. The ith flight should
be during the time interval (a i , b i ). If two flights overlap,

318 Copyright © 2011-15. Vandana Publications. All Rights Reserved.


www.ijemr.net ISSN (ONLINE): 2250-0758, ISSN (PRINT): 2394-6962

 Finding distance transforms of the pixels and journal of computer application volume 104-No.1, octomber
calculates the distance between the interior pixels 2014.
by using shortest path algorithms. [4]Applications of graph theory in computer science by
Ferozuddin Riaz and Khidir M Ali, 2011 third international
VII. SEARCH ALGORITHMS AND conference on computational intelligence, communication
BIPARTITE GRAPHS system and networks.
[5] Graph algorithms and applications:special issue by
Website designing: Website designing can be Nishizeki, Takao, Tamassia, Roberto, Wagner, Dorothea.
modeled as a graph. Web pages are represented by vertices Berlin, Springer, 2000.
and the hyper links between them are represented by edges [6] K. Appel and W. Haken, Every Planar Map is Four
in the graph. This concept is known as web graph. The Colorable, Bull. Amer. Math. Soc. 82 (1976) 711-712.
concept of complete bipartite graphs are used where [7] On the application of graph theory to computer data
vertices represent classes of object, one type of object is structure by R.Williams.
connected to object of same kind with the help of edges. [8] Graph theory application in developing software test
There are many advantages of using graph representation in strategies for networking system by Vladimir. V. Riabov
website development such as: (2007).
 Searching and community discovery. [9] Application of graptheory incommunication networks by
 Utility evaluation and link structure for web site sumandeswal andAnitasinghrova, International Journal of
 Provide easy detection for all components Application or Innovation in Engineering & Management
connected. (IJAIEM), Volume 1, Issue 2, October2012
Data mining: Graph mining concept of graph
theory is used in data mining. Graph mining represents the
relational aspect of data. In data mining the five theoretical
approaches of graph that is subgraph categories, sub graph
isomorphism, graph invariants, mining measures and
solution methods are used.[3]
Data structure: There are different ways to store data
in a computer system. Based on application a list or a matrix
representation can be used. List structures are used for
sparse graph and matrix structure provides faster access. The
list uses less memory where as matrix consume more
memory. In list there are two type incidence list and
adjacency list. In matrix there are incident matrix, adjacency
matrix and distance matrix. [4]

VIII. CONCLUSION
The main aim of this paper is to present the
importance of graph theory principles and ideas in different
fields of computer science. The researchers can use these
concepts to model and optimize different process in fields
like operating system, networks, software engineering, data
structure etc.,

REFERENCES
[1] Application of graph theory in computer science an
overview by S G Shrinivas, S Vetrivel and Dr N M Elango,
International journal of engineering science and technology ,
vol-2(9), 2010,4610-4621.
[2] N. Deo, “Graph theory with applications to Engineering
and computer science”, Prentice Hall of India, 1999.
[3] Application of graph theory in computer science and
engineering by Rishi pal Singh and Vandana, International

319 Copyright © 2011-15. Vandana Publications. All Rights Reserved.

View publication stats

You might also like