Decision Maths: 2. Graphs And Networks Flashcards
What is a Graph
A graph consists of points (called vertices or nodes), which are connected by lines (edges or arcs)
What is a Weighted Graph/Network
If a graph has a number associated with each edge (usually called it’s weight), then the graph is known as a weighted graph or network.
What are Connected Graphs
Two vertices are connected if there is a path between them. A graph is connected if all its vertices are connected.
What is a Simple Graph
A simple graph is one which there are no loops and there is at most one edge connecting any pair of vertices.
What is a Directed Graph
A directed graph is one in which the edges of the graph have a direction associated with them, the edges are known as directed edges. Directed graph is often abbreviated to digraph.
What are Vertices/Nodes
The vertices/nodes are the points on a graph (A,B,C,D,E). This list is sometimes called the vertex set.
What are the Edges/Arcs
The edges/arcs are the lines connecting vertices (AB,AC,AF…). This list is sometimes called the edge set
What is a Subgraph
A subgraph of G is a graph, each of whose vertices belong to G and each of whose edges belongs to G. It is simply a part of the original graph.
What the Degree or Valency of a Vertex (+How do we say if a Vertex is even or odd)
The degree, or valency, or order of a vertex is the number of edges incident (connected) to it.
(If a vertex has even degree we say it is even, similarly if the vertex has odd degree we say it is an odd vertex)
If you have odd degrees, will you have an even or odd amount of them
If you have odd degrees, you’ll always have an even number of them.
What is A Walk
A walk is a route through a graph along edges from one vertex to the next.
What is A Path
A path is a walk in which no vertex is visited more than once
What is A Trail
A trail is a walk in which no edge is visited more than once
What is A Cycle
A cycle is 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 Hamiltonian cycle is a cycle which includes every vertex