Decision C2 - Graphs and networks Flashcards
What is a graph?
A graph consists of points which are connected by lines
What are points also referred to as?
Vertices or nodes
What are lines also referred to as?
Edges or arcs
What is a weighted graph?
A graph with a number associate with each edge (it’s weight)
What is a weighted graph also known as?
A network
What is a subgraph?
A graph each of whose vertices and edges belong to the original graph. It is part of the original graph
What is the degree of a vertex?
The number of edges incident to it
What is the degree of a vertex also known as?
Valency or order
What is a walk?
A route through a graph along edges from one vertex to the next
What is a path?
A walk in which no vertex is visited more than once
What is a trail?
A walk in which no edge is visited more than once
What is a 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 makes two vertices connected?
If there is a path between them
What makes a graph connected?
If all it’s vertices are connected