[ https://issues.apache.org/jira/browse/MATH-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757527#comment-13757527 ]
Gilles commented on MATH-1027: ------------------------------ In "Combinations", I have created an enum to define the type of iteration (currently only "lexicographic") to allow for future extension (e.g. "random order" iteration). Does that make sense? Any idea how to implement a random order (without keeping every iterate in memory)? > Create "Combinations" class > --------------------------- > > Key: MATH-1027 > URL: https://issues.apache.org/jira/browse/MATH-1027 > Project: Commons Math > Issue Type: Task > Reporter: Gilles > Assignee: Gilles > Priority: Minor > Labels: api > Fix For: 3.3 > > > A new class will be created (with most of the code already implemented by > Phil in "combinationIterator" method in "o.a.c.m.util.CombinatoricsUtils"). > Cf. the [conclusion|http://markmail.org/message/2al2cxi4c4ce37lk] of a > discussion on the ML. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira