RSS 7 projects tagged "Algorithms"

No download Website Updated 29 Jun 2009 Validate Saudi ID

Screenshot
Pop 20.25
Vit 42.06

Validate Saudi ID is a PHP class that can be used to validate Saudi resident identifier numbers. It takes a resident identifier number and calculates a checksum to verify whether it may be a valid number. It returns either 1 (for Saudis), 2 (for non-Saudis), or FALSE (for invalid numbers).

No download Website Updated 30 Sep 2009 Asterisk Config PHP-Parser

Screenshot
Pop 30.50
Vit 40.84

The Asterisk Config PHP-Parser is a simple but effective PHP function that is able to parse any standard Asterisk configuration file and output the data into a multi-dimensional array.

No download No website Updated 26 Sep 2010 bin-packing

Screenshot
Pop 23.96
Vit 36.15

bin-packing is an implementation of the 1-dimensional bin packing algorithms in PHP: next fit, first fit, best fit, and worst fit.

No download No website Updated 11 Nov 2011 ExternalSort

Screenshot
Pop 15.52
Vit 29.93

ExternalSort is a class that can sort large files similar to the Unix sort command. It can read the file to be sorted in small buckets associated with temporary files to not exceed the configured PHP memory limits. The buckets are sorted individually and then merged to produce the final sorted output. The class provides command line interface options so it can be executed as a command from a shell.

No download Website Updated 23 Jun 2010 php mudnames

Screenshot
Pop 40.55
Vit 1.49

php mudnames is a PHP class that can generate random names for characters used in role playing games such as multi-user dungeon (MUD) games. Although the names do not mean anything, they sound very much like typical names of characters that you often see in this kind of game. It can retrieve text data from one of several dictionary files. The dictionary data is used to generate random names based on selected capabilities and used particles.

Download No website Updated 25 Aug 2010 hilbert-curve

Screenshot
Pop 31.11
Vit 1.43

hilbert-curve is a fast Hilbert curve implementation in PHP. It uses a table-based approach. It includes the Moore curve and the Z-curve.

Download Website Updated 20 Jun 2011 Zebra_Mptt

Screenshot
Pop 21.54
Vit 1.00

Zebra_MPTT is a PHP class that provides an implementation of the modified preorder tree traversal algorithm. It provides methods for adding nodes anywhere in the tree, deleting nodes, moving and copying nodes around the tree, and for retrieving information about the nodes. It uses table locks to ensure that database integrity is always preserved and that concurrent MySQL sessions don’t compromise data integrity. A caching mechanism ensures that regardless of the type or the number of retrieval operations, the database is read only once per script execution.

Screenshot

Project Spotlight

UDP IPTV to RTSP proxy

Access to UDP multicast streams via RTSP/RTP unicast protocols.

Screenshot

Project Spotlight

Firejail

A Linux namespaces sandbox program.