patternMajor
Is there a "Standard Algorithm" language, as used in academic papers?
Viewed 0 times
usedlanguagestandardalgorithmpapersthereacademic
Problem
In many academic papers algorithms are described. They seem to use similar "syntax".
Is there a standard for this language? If I want to describe an algorithm, would I improvise my description?
For example, note that papers in general use
to assign a, not a = b. But where is that standard?
Is there a standard for this language? If I want to describe an algorithm, would I improvise my description?
For example, note that papers in general use
a <-- bto assign a, not a = b. But where is that standard?
Solution
No. There is no universal standard. There are some conventions that have become more popular over time, through gradual evolution.
A good starting place to look would be to look at the pseudocode notation used in a few common algorithms textbooks, pick one you like, and try to emulate it. Probably anything done in a popular and well-regarded textbook is going to be reasonable and understandable to others.
A good starting place to look would be to look at the pseudocode notation used in a few common algorithms textbooks, pick one you like, and try to emulate it. Probably anything done in a popular and well-regarded textbook is going to be reasonable and understandable to others.
Context
StackExchange Computer Science Q#159015, answer score: 30
Revisions (0)
No revisions yet.