Graph theory
In mathematics and computer science, graph theory studies the properties of graphs. Informally, a graph is a set of objects called vertices (or Nodes) connected by links called edges (or Arcs) which can be directed. Typically, a graph is designed as a set of dots (the vertices) connected by lines (the edges).
| Image:6n-graf.png |
| A graph with 6 vertices and 7 edges. |
History
One of the first results in graph theory appeared in Leonhard Euler's paper on Seven Bridges of Königsberg, published in 1736. It is also regarded as one of the first topological results in geometry; that is, it does not depend on any measurements. This illustrates the deep connection between graph theory and topology. In 1845 Gustav Kirchhoff published his Kirchhoff's circuit laws for calculating the voltage and current in electric circuits. In 1852 Francis Guthrie posed the four color problem which asks if it is possible to color, using only four colors, any map of countries in such way as to prevent two bordering countries from having the same color. This problem, which was only solved a century later in 1976 by Kenneth Appel and Wolfgang Haken, can be considered the birth of graph theory. While trying to solve it mathematicians invented many fundamental graph theoretic terms and concepts.Definition
:''See main article graphDrawing graphs
:''See main article graph drawing Graphs are represented graphically by drawing a dot for every vertex, and drawing an arc between two vertices if they are connected by an edge. If the graph is directed the direction is indicated by drawing an arrow. A graph drawing should not be confused with the graph itself (the abstract, non-graphical structure) as there are several ways to structure the graph drawing. All that matters is which vertices are connected to which others by how many edges and not the exact layout. In practise it is often difficult to decide if two drawing represent the same graph. Depending on the problem domain some layouts may be better suited and easier to understand than others.Graphs as data structures
:''See main article graph (data structure) There are different ways to store a graphs in a computer system. The data structure used depends on the graph structure and the algorithm used for manipulating the graph. Theoretically one can distinguish between list and matrix structures but in concrete applications the best structure is often a combination of both. List structures are often preferred for sparse graphs as they have smaller memory requirements. Matrix structures on the other hand provide faster access but can consume huge amounts of memory if the graph is very large.List structures
- Incidence list - The edges are represented by an array containing pairs (ordered if directed) of vertices (that the edge connects) and eventually weight and other data.
- Adjacency list - Much like the incidence list, each node has a list of which nodes it is adjacent to. This can sometimes result in "overkill" in an undirected graph as vertex 3 may be in the list for node 2, then node 2 must be in the list for node 3. Either the programmer may choose to use the unneeded space anyway, or he/she may choose to list the adjacency once. This representation is easier to find all the nodes which are connected to a single node, since these are explicitly listed.
Matrix structures
- Incidence matrix - The graph is represented by a matrix of E (edges) by V (vertices), where [edge, vertex] contains the edge's data (simplest case: 1 - connected, 0 - not connected).
- Adjacency matrix - there is an N by N matrix, where N is the number of vertices in the graph. If there is an edge from some vertex x to some vertex y, then the element would be 1, otherwise it would be 0. This makes it easier to find subgraphs, and to reverse graphs if needed.
- Admittance matrix - is defined as degree matrix minus adjacency matrix and thus contains adjacency information and degree information about the vertices
Graph problems
- Graph coloring:
- * the four-color theorem
- * the strong perfect graph theorem
- * the Erdős-Faber-Lovász conjecture (unsolved)
- * the total coloring conjecture (unsolved)
- * the list coloring conjecture (unsolved)
- Graph isomorphism problems (Graph matching)
- * Canonical labeling
- * Subgraph isomorphism and monomorphisms
- * Maximal common subgraph
- Graph substructure:
- * Independent set
- * Clique
- Route problems:
- * Seven bridges of Königsberg
- * Minimum spanning tree
- * Steiner tree
- * Shortest path problem
- * Route inspection problem (also called the "Chinese Postman Problem")
- * Traveling salesman problem
- Visibility graph problems:
- * Museum guard problem
Important algorithms
- Dijkstra's algorithm
- Kruskal's algorithm
- Nearest neighbour algorithm
- Prim's algorithm
Related areas of mathematics
Applications
Many applications of graph theory exist in the form of network analysis. These split broadly into two categories. Firstly, analysis to determine structural properties of a network, such as whether or not it is a scale-free network, or a small-world network. Secondly, analysis to find a measurable quantity within the network, for example, for a transportation network, the level of vehicular flow within any portion of it.See also
- Glossary of graph theory
- List of graph theory topics
- Ordered tree data structure - DAGs, binary trees and other special forms of graph.
- Graph (data structure)
- Graph drawing
- Important publications in graph theory
External links
- Graph Theory online textbook
- Graph theory tutorial
- Graph theory algorithm presentation
- Some graph theory algorithm animations
- *Step through the algorithm to understand it.
- The compendium of algorithm visualisation sites
- A search site for finding algorithm implementations, explanations and animations
- Challenging Benchmarks for Maximum Clique, Maximum Independent Set, Minimum Vertex Cover and Vertex Coloring
- 1: Image gallery: Some real-life networks
- 2: Example layouts of a graph
- Graph links collection
raph theory
Gaph theory
Grph theory
Grah theory
Grap theory
Graphtheory
Graph heory
Graph teory
Graph thory
Graph thery
Graph theoy
Graph theor
rGaph theory
Garph theory
Grpah theory
Grahp theory
Grap htheory
Grapht heory
Graph hteory
Graph tehory
Graph thoery
Graph theroy
Graph theoyr
Graph theor
GGraph theory
Grraph theory
Graaph theory
Grapph theory
Graphh theory
Graph theory
Graph ttheory
Graph thheory
Graph theeory
Graph theoory
Graph theorry
Graph theoryy
raph theory
gaph theory
grph theory
grah theory
grap theory
graphtheory
graph heory
graph teory
graph thory
graph thery
graph theoy
graph theor
rgaph theory
garph theory
grpah theory
grahp theory
grap htheory
grapht heory
graph hteory
graph tehory
graph thoery
graph theroy
graph theoyr
graph theor
ggraph theory
grraph theory
graaph theory
grapph theory
graphh theory
graph theory
graph ttheory
graph thheory
graph theeory
graph theoory
graph theorry
graph theoryy