From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c42dbf68f5320193 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-02 09:24:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!wn3feed!wn14eed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc53.POSTED!not-for-mail Message-ID: <3CD1683B.462EF93B@attbi.com> From: Mark Biggar X-Mailer: Mozilla 4.79 [en]C-{C-UDP; EBM-SONY1} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Generation of permutations References: <4519e058.0204300552.15317df9@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.235.88.57 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1020356661 12.235.88.57 (Thu, 02 May 2002 16:24:21 GMT) NNTP-Posting-Date: Thu, 02 May 2002 16:24:21 GMT Organization: AT&T Broadband Date: Thu, 02 May 2002 16:24:21 GMT Xref: archiver1.google.com comp.lang.ada:23424 Date: 2002-05-02T16:24:21+00:00 List-Id: Ted Dennison wrote: > > Reinert Korsnes wrote in message news:... > > Are there any good (Ada95) packages for generation of permutations > > (of elements in array) ? > > Sadly, that doesn't come up much...outside of homework assignments. ;-) > > Are you writing a bogosort? If you want to roll your own code then you should look at the latest fascicle preprint from Knuth Vol. 4 "Generating Permutations" http:sunburn.stanford.edu/~knuth/fasc2b.ps.gz -- Mark Biggar mark.a.biggar@attbi.com