6
I know the question got a little weird, but here’s the thing:
It has a type of notation that is no language, but it serves as a basis to implement in some language. for example the algorithm of Dijkstra is represented like this:
enquanto Q ≠ ø
u ← extrair-mín(Q) //Q ← Q - {u}
para cada v adjacente a u
se d[v] > d[u] + w(u, v) //relaxe (u, v)
então d[v] ← d[u] + w(u, v)
π[v] ← u
Q ← Q ∪ {v}
What is the name of this type of modeling?
I need to represent a code that will be implemented in several languages, by which name I should search?
It would be pseudo-code?
– carlosfigueira
Pseudocode, structured Portuguese?
– Bernardo Botelho