RSS 15 projects tagged "Algorithms"

Download Website Updated 11 Jun 2013 markov.sql

Screenshot
Pop 101.05
Vit 1.98

markov.sql implements third order (and lower) model Markov Chains, including training and generation, in pure SQL(ite). The source code archive also contains a pre-trained SQL dump with models based on the 1990 US Census Bureau data sets for first and last names, and an excerpt of the 2012 US tax office corporation names.

Download Website Updated 02 Jun 2013 The Sound of Sorting

Screenshot
Pop 108.66
Vit 1.00

The "Sound of Sorting" is a demo program containing many integer sorting algorithms. The algorithms are visualized in real time and augmented with sound effects, which are based on the values being compared. Animation speed and sound sustain can be customized while the algorithm is running. The visualization also highlights the algorithm's internal workings, which makes the demo program very useful for teaching sorting algorithms in an undergraduate computer science course. The program also counts the number of comparisons done by an algorithm, which can then be compared to the analytically derived value. The demo is implemented using the cross-platform toolkits wxWidgets and SDL, and can be executed on Windows, Linux, and Mac.

Download No website Updated 10 Jul 2012 nedtries

Screenshot
Pop 77.14
Vit 3.09

nedtries is a portable in-place bitwise binary Fredkin trie algorithm that allows for near constant time insertions, deletions, finds, closest fit finds, and iteration. It is approximately 50-100% faster than red-black trees and up to 20% faster than O(1) hash tables. It provides implementations as C macros, C++ templates, and as a C++ STL compatible associative container.

No download Website Updated 17 Mar 2012 llrb.h

Screenshot
Pop 41.62
Vit 1.62

llrb.h is an iterative implementation of Robert Sedgewick's 2-3 variant left-leaning red-black tree algorithm. It's written to be a drop-in replacement for Niels Provos' <sys/tree.h> C preprocessor red-black tree library.

Download Website Updated 15 Jan 2012 BS

Screenshot
Pop 23.96
Vit 1.00

BS is a data structures library. It features fixed size, random access sequences. The sequences are constructed over B-trees. Complexity for most single item operations is about O(logN). The sequences are three to five times faster over random access BST-based sequences, while having better memory usage characteristics.

No download No website Updated 11 Nov 2011 ExternalSort

Screenshot
Pop 19.29
Vit 24.21

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.

Download Website Updated 20 Jun 2011 Zebra_Mptt

Screenshot
Pop 24.00
Vit 1.01

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.

No download No website Updated 26 Sep 2010 bin-packing

Screenshot
Pop 27.06
Vit 31.57

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

Download No website Updated 25 Aug 2010 hilbert-curve

Screenshot
Pop 31.62
Vit 1.44

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.

No download Website Updated 23 Jun 2010 php mudnames

Screenshot
Pop 44.05
Vit 1.51

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.

Screenshot

Project Spotlight

RPhoto

A handy image editor to crop pictures with a constant ratio.

Screenshot

Project Spotlight

MAMEHub

A cross-platform networked game system with MAME.