2. Graphs and Networks Flashcards
What does a graph consist of?
Points called vertices or nodes
Lines called edges or arcs
What is a weighted graph or network?
A graph that has a number associated with each edge (usually known as weight)
What is a subgraph?
A part of the original graph
What is the degree of a vertex also known as?
- Order
2. Valency
What is the degree of a vertex?
The number of edges incident to it
Define the term walk
A route through a graph along edges from one vertex to the next
Define the term path
A walk in which no vertex is visited more than once
Define the term trail
A walk in which no edge is visited more than once
Define the term cycle
A walk in which the end vertex is the same as the start vertex and no other vertex is visited more than once
What is a Hamiltonian cycle?
A cycle that includes every vertex
What is a connected graph?
A graph where all vertices are connected
Define the term loop
An edge that starts and finishes at the same vertex
What is a simple graph?
A graph that has no loops and only one edge connecting any pair of vertices
What is a directed graph (digraph)?
A graph which has directed edges (edges that have a direction associated with them)
What is the relationship between the sum of the degrees of the vertices and the number of edges in an undirected graph?
sum of degrees of vertices = 2 x number of edges
This means the number of odd vertices must be even