Lesson 2-PART 2 Flashcards
a _is a non-linear structure (also
called a network). Unlike a tree or binary tree, a _does not have a root – no primary entry point.
Graphs
the interconnected objects are
represented by points.
can be connected to any other node
by an edge. It can have any number of edges and nodes.
Vertices
the links that connect the vertices.
Edges
a “walk” from one vertex to another along
directed edges
Path
the pair of vertices representing any edge in unordered.
Undirected Graphs
the pair of vertices representing any edge is ordered.
Directed Graphs
each edge (or vertex) of G is assigned a numerical value, or weight.
Weighted Graphs
there is no cost distinction between various edges and vertices.
Unweighted Graphs
Vertices connected by an edge.
Adjacent Vertices
A subset of Graph G, which has all the vertices covered with minimum possible number of edges.
Spanning tree