mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-06 17:44:08 +08:00
Add README.
This commit is contained in:
18
src/data-structures/graph/README.md
Normal file
18
src/data-structures/graph/README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Graph
|
||||||
|
|
||||||
|
A graph data structure consists of a finite (and possibly
|
||||||
|
mutable) set of vertices or nodes or points, together
|
||||||
|
with a set of unordered pairs of these vertices for an
|
||||||
|
undirected graph or a set of ordered pairs for a
|
||||||
|
directed graph. These pairs are known as edges, arcs,
|
||||||
|
or lines for an undirected graph and as arrows,
|
||||||
|
directed edges, directed arcs, or directed lines
|
||||||
|
for a directed graph. The vertices may be part of
|
||||||
|
the graph structure, or may be external entities
|
||||||
|
represented by integer indices or references.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## References
|
||||||
|
|
||||||
|
[Wikipedia](https://en.wikipedia.org/wiki/Graph_(abstract_data_type))
|
Reference in New Issue
Block a user