 |
|
04-03-2009
|
#1 (permalink)
|
|
Thinking
|
Not Ranked
:
+0 / -0
0 score
Algorithms beyond programming
I recently learned that algorithm is a word being used without a definite defintion, as seems to be the case of a lot of terms I have been analyzing.
Anyway, I am wondering about this passage that algorithms and it seemingly exercised in fields beyond computer programming.
Quote:
|
Most algorithms are intended to be implemented as computer programs. However, algorithms are also implemented by other means, such as in a biological neural network (for example, the human brain implementing arithmetic or an insect looking for food), in an electrical circuit, or in a mechanical device.
|
There is no reference, anybody able to direct me toward any?
|
|
04-04-2009
|
#2 (permalink)
|
|
Thinking
|
Not Ranked
:
+0 / -0
0 score
Re: Algorithms beyond programming
Okay - 52 views and no replies.
Do you agree, or disagree, with the description of algorithms provided in the excerpt?
|
|
04-04-2009
|
#3 (permalink)
|
|
M.C. Grillmeister

Sponsor |
|
Not Ranked
:
+0 / -0
0 score
Re: Algorithms beyond programming
I think it's hard to discern the context of their usage of the word "algorithm" given the scant information provided.
If we assume the wiki definition of
Quote:
|
Originally Posted by wiki
an algorithm is a finite sequence of instructions, an explicit, step-by-step procedure for solving a problem
|
then I would have to say that the examples given in your quote are not a correct use of the word "algorithm". I don't think they should have used "implementation". To think of an electric circuit "implementing" an "algorithm" is silly to me. An electric circuit is not trying to solve a problem. It might solve a problem for the designer (the one who actually implements an algorithm using an electric circuit), but no problem is addressed inherently by the circuit itself.
----------------
Hypography Science Forums Moderator
---
"There are no passengers on Spaceship Earth. We are all crew." - Marshall McLuhan
"We must not forget that when radium was discovered no one knew that it would prove useful in hospitals. The work was one of pure science. And this is a proof that scientific work must not be considered from the point of view of the direct usefulness of it." - Marie Curie
|
|
04-04-2009
|
#4 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
Some concepts: algorithms, recipes, mes, and oracles
Quote:
Originally Posted by SidewalkCynic
I recently learned that algorithm is a word being used without a definite defintion, as seems to be the case of a lot of terms I have been analyzing.
|
I think the meaning of “algorithm” is well defined and understood The definition give in your wikipedia link In mathematics, computing, linguistics, and related subjects, an algorithm is a finite sequence of instructions, an explicit, step-by-step procedure for solving a problem, often used for calculation and data processing. strikes me as a good, conventional, uncontroversial one.
Quote:
Originally Posted by SidewalkCynic
Anyway, I am wondering about this passage that algorithms and it seemingly exercised in fields beyond computer programming.
|
The term “algorithm” is commonly used to describe any step-by-step list of instructions for doing something. So long as the entity reading and executing the instructions does so correctly, an algorithms is useful, so any entity from an electronic computer to a human short-order chef can use them. The term algorithm has been in use for more-or-less a thousand years, mostly among mathematicians – as the wikipedia article expains, like the term “algebra”, the word is a westernization of a Arabic word. When used in other disciplines, other words are used to describe the same concept – for example, in cooking, “recipe”.
The idea of an algorithm is very old, arguably nearly prehistoric. Some even argue that algorithms – recorded or orally handed-down list of instructions for doing useful task or meaningless rituals – are key to the emergence of humankind from its pre-human ancestory. An interesting fictional lecture on the subject can be had in the 1992 novel “ Snow Crash” – something of a classic among computer-ish folk, and highly recommended by me – in which author Neal Stephenson equates instructions for such mundane tasks as baking bread with what early humans considered magic spells, called in the Novel “me”, a word borrowed from Sumerian mythology.
Quote:
Originally Posted by SidewalkCynic
There is no reference, anybody able to direct me toward any?
|
Beyond the various discussions and links in the wikipedia article, I’m unsure what sort of reference to an algorithm-related idea you’re looking for, SidewalkCynic. I’ve a hunch you’re interested in the idea algorithm-like processes that are not algorithms. A concept that come to mind is the computational oracle, used in formal computing theory to allow for solving problems that provably cannot be computed.
Let us know if any of this is what you’re looking for, or if I’m misreading what you’re looking for.
Quote:
Originally Posted by SidewalkCynic
Okay - 52 views and no replies.
|
Keep in mind that many viewers are unregistered guest users who can’t and don’t want to reply to threads, only read them, that hypography is a small, friendly, sometimes slow-paced forum, where sometimes days can pass while people think about how to reply to a post before doing so.
Also, this thread doesn’t belong in the Engineering and Applied Science forum, as it’s about a generally mathematical concept, not physically building things, so may have been overlooked by people interested in its subject. I’ve moved the thread to Computer Science – if it proves to fit some other forum better, I or another moderator will move it there later.
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
04-06-2009
|
#5 (permalink)
|
|
Thinking
|
Not Ranked
:
+0 / -0
0 score
Re: Algorithms beyond programming
Thanks,
Basically, what I am trying to determine is if I can classify engineering and computer programming as having the commonality of algorithms involved in the initiation of a task/project exercising either of the activities.
My problem being that I understand algorithms as being the abstract concept that the initiator of a project requests engineers or programmers to detail. For instance, a manager asks a programmer to write a program to "do (something);" I thought "do (something)" was the algorithm, and the programmer writes the steps that the processor can calculate.
So, I am probably looking for the term that describes the general classification of expectations of what a tool can be directed to do.
Last edited by SidewalkCynic; 04-06-2009 at 12:32 PM..
|
|
04-06-2009
|
#6 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
Various synonyms for "algorithm", and a different kind of thing, a "specification"
Quote:
Originally Posted by SidewalkCynic
Basically, what I am trying to determine is if I can classify engineering and computer programming as having the commonality of algorithms involved in the initiation of a task/project exercising either of the activities.
|
Taken far enough, nearly anything can be considered an algorithm, but in normal usage, we only refer to artificial lists of instructions as algorithm. So a computer program is an algorithm, while the chemical reaction of a virus encountering a particular cell is not, although the number, complexity, and consistency of execution of “coded” instructions for each may be similar.
Quote:
Originally Posted by SidewalkCynic
My problem being that I understand algorithms as being the abstract concept that the initiator of a project requests engineers or programmers to detail.
|
I think you may be overcomplicating things.
An algorithm is simply a rule for doing something. For example - Set a counter named “A” equal to 1, one named “B” to zero
- Compare B to a counter named “C”. If B is greater than or equal to C, state the value of C, followed by the words “factorial is” followed by the value of B, and stop.
- Otherwise, increase B by 1, set A to A multiplied by B, and repeat from step #2
is an algorithm for stating the value of the factorial of an integer, C, ie: C! Note that it’s not a “bullet-proof" one, as it doesn’t check to assure that C is a non-negative integer.
There are some common and uncommon usages of the term “algorithm”, and some words meaning the same thing used more and less commonly in various contexts. A list of instructions performed by an electronic or mechanical computer, or by someone who knows how to act like one, is usually called a “program”. When spoken of abstractly, as something that could be performed by in principle any equivalent entity, it’s usually called an “algorithm”. When performed by a human being in a business setting, it might be called a “procedure” or “process”, and might be written in a strange way (the “how to make a sandwich” and “how to wash your hands” pictographs found in restaurants, for example)
Quote:
Originally Posted by SidewalkCynic
So, I am probably looking for the term that describes the general classification of expectations of what a tool can be directed to do.
|
A common word for this, if I understand your meaning, is “specifications”. There’re many specialized business versions on the term, but “specification”, often with various modifiers (eg: “detailed specifications”, “business specification”, etc.) is, I think, the most widely used and recognized. Occasionally, one sees the word “specifications” replaced with another word – “solution” is a common one – but in my experience such substitutions are more trade art than meaningful language differences.
While specification and algorithms are clearly related, they’re very different and distinct things. In short, a specification describes is what an algorithm should do, an algorithm, how it is actually done.
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
04-07-2009
|
#7 (permalink)
|
|
Thinking
|
Not Ranked
:
+0 / -0
0 score
Re: Algorithms beyond programming
Well, we're knocking them down by elimination. Let me think about my dilemma a little bit, and see if maybe I need to redirect my inquiry.
|
|
04-17-2009
|
#8 (permalink)
|
|
Questioning
|
Not Ranked
:
+0 / -0
0 score
Re: Algorithms beyond programming
There is an important issue here that is missing.
Algorithms eventually stop. The following is not an algorithm:
1. Wait for person to walk by
2. Smile at person
3. Go back to step 1
This sequence does not end.
1. Wait for person to walk by
2. Smile at person
3. Go back to step 1 if not friend
4. Talk to friend
This sequence can stop.
|
|
04-17-2009
|
#9 (permalink)
|
|
Resident Slayer
|
Not Ranked
:
+0 / -0
0 score
Re: Algorithms beyond programming
Quote:
Originally Posted by stereologist
There is an important issue here that is missing.
Algorithms eventually stop.
|
Well for practical purposes, probably, but I'm not sure how you justify this statement.
Many programs are in fact written this way:
- Turn on red light.
- Wait 30 seconds.
- Turn on yellow light.
- Wait 4 seconds.
- Turn on green light.
- Wait 30 seconds.
- Goto 1
Got up, got out of bed, dragged a comb across my head, made my way down stairs and drank a cup, and looking up I noticed I was late, 
Buffy
----------------
"If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!"
__________________________________________________ ______________-- Tom Lehrer
"No Robbie, not Europe!"
Forum Administrator
Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here.
|
|
04-17-2009
|
#10 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
The multiple meaning of "algorithm", and a not to Korzybski
Quote:
Originally Posted by stereologist
There is an important issue here that is missing.
Algorithms eventually stop. ...
|
A good point, IMHO. I tend to equate “algorithm” with “function”, and define function as “something that takes input and returns output”. By this definition, a program that can never end can never return an output, so can’t implement a function.
In wider usage, however, algorithm seems to be used more generally to include both programs that can end, and ones that can’t. I’ve a hunch this more general meaning gained popularity when people began formally defining “algorithm” as “that which can be represented by the state table of a Turing machine”. When the term first began showing up with any frequency ca. the 12th century, I suspect the most common definition was an informal one like “way to calculate something”, and would have considered endless programs to be either very bad algorithms, or not deserving of the name at all.
Personally, I like to use the term “program” in place of the most formal description of an algorithm, and “algorithm” to describe a higher level, “essential” description. I say things like “this program implements that algorithm”, implying a many-one relationship where an algorithm can be implemented by many programs.
This issue of a single word, even a fairly technical one, having multiple, context-dependent meanings, is I think a lot of what inspired Korzybski to propose using subscripts on every word in natural language writing, with the wild idea that if everybody – or at least everybody important became enculturated to doing this and thinking in the manner it engendered, social problems like war and poverty would disappear. I’m don’t know if Korzybski’s hunch is right or wrong, but I’m pretty sure that such a practice would dramatically change communication on science boards like hypography! 
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
 |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
» Advertisement |
|
|
|