Graph
Graph
1. Graph Theory
Graph theory is the study of mathematical objects known as graphs,
which consist of vertices(or nodes) connected by edges. (In the figure below,
the vertices are the numbered circles, and the edges join the vertices.)
2. Complete Graph
A complete graph is a simple undirected graph in which every pair of
distinct vertices is connected by a unique edge. A complete digraph is
a directed graph in which every pair of distinct vertices is connected by a pair
of unique edges (one in each direction).
3. Equivalent Graph
A Equivalent Graph has two graphs are equal if they have the same
vertex set and the same set of edges. Two graphs are equivalent if their
vertices can be relabeled to make them equal.
4. Euler Circuits
An Euler circuit is an Euler path which starts and stops at the same
vertex. An Euler circuit is a circuit that uses every edge in a graph with no
repeats. Being a circuit, it must start and end at the same vertex. Eulerian
Graph Theorem
6. Hamiltonian Circuits
A Hamiltonian cycle, also called a Hamiltonian circuit, Hamilton
cycle, or Hamilton circuit, is a graph cycle (i.e., closed loop) through
a graph that visits each node exactly once (Skiena 1990, p. 196). A graph
possessing a Hamiltonian cycle is said to be a Hamiltonian graph. By
convention, the singleton graph is considered to be Hamiltonian even though
it does not posses a Hamiltonian cycle, while the connected graph on two
nodes is not.
1. Euler path
In the graph shown below, there are several Euler paths. One such
path is CABDCB. path is shown in arrows to the right, with the order of
edges numbered.
2. Weighted graph
The graph consists of five nodes and seven edges. Each edge has some weight.
For example, the edge \{0, 3\}{0,3} has weight 77, the edge \{1, 2\}{1,2} has weight 11.
Weighted graphs are often used to model real objects and processes. For
example, the graph above can be considered as a map, where the nodes are cities
and the edges are roads. The weight of each edge is the distance between two cities.
The graph above is an undirected graph. But weighted graphs can also be
directed. Given below is an example of a directed weighted graph:
Weighted directed graphs are also can be used to model some real processes.
For instance, the node 00 in the graph above can be considered as a storage, from
where we need to transfer some resources to the destination point, say to the node 22.
The remaining nodes can be considered as intermediate places. Each edge shows a
direction in which the resources can be transferred. The weight of an edge shows the
maximum amount of resources that can be sent through the edge.
Note that for the graphs above all the weights are positive. But negatives (and
zero) weights are also allowed.