A Level Further Maths Decision Definitions Flashcards
An algorithm
a finite sequence of step by step instructions carried out to solve a problem
Bubble Sort: Pros (2)
- simple to implement
- efficient way to check if list is already in order
Bubble Sort: Cons (1)
- extremely inefficient to write
Bin Packing: First Fit: Pros (1)
- quick to do
Bin Packing: First Fit: Cons (1)
- not likely to lead to a good solution
Bin Packing: First Fit Decreasing: Pros (2)
- usually get a fairly good solution
- easy to do
Bin Packing: First Fit Decreasing: Cons (1)
- might not get an optimal solution
Bin Packing: Full Bin Packing: Pros (1)
- usually get a fairly good solution
Bin Packing: Full Bin Packing: Cons (1)
- difficult to do
A Minimum Spanning Tree
A spanning tree such that the total length of its arcs is as small as possible
Floyd’s Algorithm is used to
Find the shortest path between every pair of vertices in a network
Graph
Loads of lines that are put on each other :P
A Subgraph
Part of the original graph
The number of edges incident to a vertex
Degree/Valency/Order
A Walk
A route through a graph along edges from one vertex to the next
A Path
A walk in which 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 vertex is the same as the start vertex and no other vertex is visited more than once
A Hamiltonian Cycle
A cycle that includes every vertex
A Simple Graph
- A graph in which there are no loops
- and there is a most one edge connecting any pair of vertices
Euler’s Handshaking Lemma
- in any undirected graph, the sum of the degrees of the vertices is equal to 2x the number of edges
- therefore the number of odd vertices must be even
A Tree
A connected graph with no cycles
A Spanning Tree
A graph is a subgraph including all vertices and is a tree
A Complete Graph
A graph in which every vertex is directly connected by a single edge to each of the other vertices
Isomorphic Graphs
Graphs which show the same information but are drawn differently
A Planar Graph
A graph that can be drawn in a plane such that no two edges meet except at a vertex
Eulerian Graph
Any connected graph whose vertices are all even
Semi-Eulerian
Any connected graph with exactly 2 odd vertices
A Tour
A walk which visits every vertex, returning to its starting vertex
The Travelling Salesman Problem involves
finding a tour of minimum total weight
The Classical Travelling Salesman Problem
Each vertex is visited exactly once before returning to the start
The Practical Travelling Salesman Probblem
Each vertex visited at least once before returning to the start
The Feasible Region
A region of the graph that satisfies all the constraints
M is an
Arbitrarily large number