A Control Structure for a Variable Number of Nested Loops
Author(s) -
E. Skordalakis,
G. Papakonstantinou
Publication year - 1982
Publication title -
the computer journal
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.319
H-Index - 64
eISSN - 1460-2067
pISSN - 0010-4620
DOI - 10.1093/comjnl/25.1.48
Subject(s) - fortran , computer science , backtracking , variable (mathematics) , programming language , control (management) , data structure , program structure , theoretical computer science , nested loop join , algorithm , mathematics , parallel computing , artificial intelligence , mathematical analysis
A new program control structure is proposed in this paper which is suitable for expressing a variable number of nested loops. This control structure is useful in combinatorial problems and in problems requiring backtracking. Implementation details are discussed and some illustrative examples are given which employ this new program control structure. The incorporation of this control structure in contemporary programming languages will considerably enhance them, particularly languages like FORTRAN, BASIC, and assembly.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom