© 1978 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Evaluation of permutation algorithms
Regional Computer Centre, Calcutta, Jadavpur University Campus, Calcutta, India
Six non-recursive algorithms which appear to be the best in respect of the permutation sequences they generate, have been considered for evaluation. Since the machine/compiler used has significant effect on the permutation algorithms, in this paper a different approach has been taken instead of the usual timing experiments. We have obtained the number of times certain constructs would be obeyed in terms of formulae related to n, the number of marks. A comparison based on these formulae shows that Ives' algorithm is the best of all.
Received October 1976.
* Author's Present address, Regional Computer Centre, Calcutta, Jadavapur University Campus, Calcutta, 700 032, India.
Computer Centre, Jadavpur University, Calcutta 700032, India