Content deleted Content added
No edit summary |
m Open access bot: doi added to citation with #oabot. |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
In computational [[combinatorics]], a '''loopless algorithm''' or '''loopless imperative algorithm''' is an [[imperative programming|imperative]] [[algorithm]] that generates successive combinatorial objects, such as [[partition of a set|partitions]], [[permutation]]s, and [[combination]]s, in [[constant time]] and the first object in [[linear time]].<ref name="ehrlich73">{{cite journal|author=Ehrlich, G.|date=July 1973|title=Loopless algorithms for generating permutations, combinations, and other combinatorial configuration|journal=[[Journal of the ACM]]|publisher=[[Association for Computing Machinery|ACM]]|___location=[[New York City|New York, N.Y.]]|volume=20|issue=3|pages=500–513|issn=0004-5411|doi=10.1145/321765.321781|doi-access=free}}</ref><ref>{{cite book|author=
A '''loopless functional algorithm''' is a [[functional programming|functional]] algorithm that takes the form ''unfoldr step • prolog'' where ''step'' takes constant time and ''prolog'' takes linear time in the size of the input.<ref name="bird06">{{cite conference|author=
==References==
{{
[[Category:Combinatorial algorithms]]
{{Combin-stub}}
|