chapter 2 graphs and networks Flashcards
graph consists of
nodes connected by arcs
if a graph has a number associated with each edge
it is a weighted graph or network
list of nodes (or vertices)
vertex set
list of edges (or arcs)
edge set
a subgraph
a part of the original graph
degree of a node
number of edges incident to it
a walk
a route through the graph along gedges from one vertex to the next
a path
a walk in one no vertex is visited more than once
a trail
a walk in which no edge is visited more than once
a cycle
a walk in which the end vertexx is the same as the start vertex and no other vertex is visited more than once
a connected graph
if all vertices have a path between them
hamilitioian cycle
cycle that includes every vertex
loop
edge that starts and finishes at same vertex
simple graph
no loops and at most one edge connecting any pair of vertices
digraph
graph with direction