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