algorithm

algorithm

n.
  1. a precise rule (or set of rules) specifying how to solve some problem; a set of procedures guaranteed to find the solution to a problem.