PHP Classes

Combinatorics: Make combinatorial statistics calculations

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 1,623 All time: 2,428 This week: 560Up
Version License Categories
combinatorics 1.0.0BSD LicenseAlgorithms
Description 

Author

This class contains some useful statistical functions to make combinatorial statictic calculations like dispositions and combinations of objects.

As an interesting use of the class there is a subclass to find the best path, both if you have to visit a certain number of cities and if you have to touch a certain number of nodes in a network.

Innovation Award
PHP Programming Innovation award nominee
June 2004
Number 6
Combinatorial calculus is a field of mathematics that is used to solve reasonably complex problems of probability and statistics.

This class provides functions that can simplify the development of applications that need to perform calculations of probability and statistics.

Although it requires a reasonable level of knowledge of this field to take advantage of this class, developers that understand about this field and know how to use the functionality provided by the class, will appreciate having it ready to use in their applications.

Manuel Lemos
Picture of stefano dolzi
Name: stefano dolzi <contact>
Classes: 3 packages by
Country: Italy Italy
Age: ???
All time rank: 1895 in Italy Italy
Week rank: 360 Down16 in Italy Italy Down
Innovation award
Innovation award
Nominee: 2x

Details

Hello! This class contains some useful statistical functions to calculate dispositions and combinations of objects. An interesting use of it could be to find the best path, both if you have to visit a certain number of cities and if you have to touch a certain number of nodes in a network. Of course, developping similar functions inside a specific database (using pl/sql for Oracle, Transact SQl for SQLServer, plpgsql for Postgresql) is probably more efficient, but this approach is database independent. I have done some tests and they seem to work. If you find any errors or have some suggestions please contact me. Have a nice day :-) p.s. The main class is Combinatorics. The class Geo extends Combinatorics and was built only to be used in the example.

  Files folder image Files  
File Role Description
Accessible without login Plain text file Cities.php Example example n.2
Accessible without login HTML file Combinatorics.html Doc. Class methods documentation
Plain text file Combinatorics.php Class Class
Accessible without login Plain text file Example.php Example Example n.1
Accessible without login Plain text file Geo.php Example Class for example n.2
Accessible without login Plain text file readme.txt Doc. read me

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,623
This week:0
All time:2,428
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:78%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1228