Re: Permutation in PHP
| From: | Richard Lynch | Date: | Sat, 22 Sep 2001 02:01:02 +0000 |
| Subject: | Re: Permutation in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68245@lists.php.net to get a copy of this message | ||
You should be able to find this in *ANY* computer science algorithm
textbook, or online in a few thousand sites...
If you find a C version, you can probably change all the variables to have $
in front, and you're finished.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Robert Mena <rt_mena@yahoo.com>
Newsgroups: php.general
To: php mailing list <php-general@lists.php.net>
Sent: Sunday, September 16, 2001 4:44 PM
Subject: Permutation in PHP
> Hi I am looking for an algorithm to generate the
> permutation of the elements of a vector, say <a,b,c>.
> Does anybody know / have implemented such (in PHP or
> different languages).
>
> Best regards.
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/