Decision maths definitions Flashcards
algorithm
a finite sequence of step-by-step instructions carried out to solve a problem
bubble sort
compares adjacent items in a list
first fit algorithm
Considers items in the order that they were given
first fit decreasing algorithm
Considers items in descending order
full bin packing algorithm
Uses inspection to select items that will combine to form bins
graph
Consists of vertices/nodes which are connected by edges/arcs
weighted graph/network
A graph which has numbers associated with each edge/arc
degree (of a vertex)
The number of edges incident to a vertex/node
vertices/nodes
points on a graph
edges/arcs
lines on a graph
walk
A route through a graph along edges from one vertex to the next
path
A walk in which no vertex is visited more than once
trail
A walk in which no edge is visited more than once
cycle
a walk in which the end vertex is the same as the start vertex and no other vertex is visited more than onc
Hamiltonian cycle
A cycle which includes every vertex
loop
An edge that starts and finishes at the same vertex
simple graph
A graph in which there are no loops and not more than one edge connecting any pair of vertices
directed edges
Edges of a graph that have a direction associated with them
Directed Graph (digraph)
a graph with directed edges
Euler’s handshaking lemma
In any undirected graph, the sun of the degrees of the vertices is equal to 2x the number of edges. Only when the number of odd vertices is even.
tree
A connected graph with no cycles
spanning tree
A subgraph of a graph which includes all the vertices of the original graph and is also a tree.
complete graph
A graph in which every vertex is directly connected by an edge to each of the other vertices.
isomorphic graphs
Graphs that show the same information but may be drawn differently