Why is an algorithm a logical sequence of steps for solving a problem or carrying out a procedure and may contain embedded experience, expertise and knowledge?
Conceptual Pattern for Algorithm
An algorithm is a procedure that details a sequence of rules or sets of rules performed to solve a problem. It is a serial arranged method to resolve a state of difficulty or puzzle. An algorithm addresses things, actions, or events arranged or happening in a specific order or linear arrangement having a specific connection as a recurrent pattern of actions intended to achieve a result. An algorithm is a fixed step-by-step sequence of activities that must be followed in the same order to correctly perform a task raised as a question for consideration or solution.(Pattern Engine – Algorithm N=12 © 2014)
If algorithms are understood then the meaning of Quality will follow.
First Principle: The purpose of an algorithm is the effective and efficient transformation of data.
Second Principle: An algorithm is a finite effective procedure, written in a fixed symbolic vocabulary, governed by precise instructions, moving in discrete steps and sooner or later comes to an end. 1
Third Principle: The actions carried out by an algorithm must be rigorously specified for each case. 2
Fourth Principle: An algorithm must arrive at a problem solution after a finite number of steps. 2
Fifth Principle: Inputs may be defined as quantities which are given to the algorithm initially, before it its executed, and the outputs as quantities which have a specified relation to the inputs and which are delivered at the completion of its execution. 2
Sixth Principle: An algorithm has five basic properties: boundedness, it stops; correctness, it finds the right answer to a problem; predictability, it always does the same thing if given the same input; finiteness, it can be described in a finite number of steps; definiteness, each step has a well defined meaning. 3
Key Conceptual Patterns
A problem is a state of difficulty or puzzle raised as a question for consideration or solution. It is a condition of something difficult to resolve requiring a correct answer. A problem is something requiring a solution but is difficult or impossible to resolve without successful action in respect to its main attributes.(Pattern Engine – Problem N=12 © 2014)
A solution is a method that results in successfully dealing with difficulty and solves a problem or explains how to solve a problem or provides the answer to a puzzle or question. It is a way of doing something with requested information regarding a state of difficulty. A solution is a body of systematic techniques used by a particular scientific discipline according to a plan that is made to reply to a question or request or criticism or accusation and perceived as a gap between the existing state and a desired state raised for consideration.(Pattern Engine – Solution N=12 © 2014)
Next Post: Homeostasis – Achieving equilibrium with cybernetics.
1 Davis Berlinski: The Advent of the Algorithm, 2000.
2. Lydia Kronsjo: Algorithms: Their Complexity and Efficiency, 1987
3. Gregory Rawlins: Compared to What; An Introduction to the Analysis of Algorithms, 1992.