RSS 16 projects tagged "Algorithms"

No download Website Updated 22 Feb 2014 C Almost Generic Library

Screenshot
Pop 82.90
Vit 7.46

C Almost Generic Library (CAGL) is a set of C macros which generates typed arrays, lists (singly or doubly-linked), hash tables, and balanced binary trees, as well as many useful functions to manipulate them. The containers grow automatically, and their memory is managed by the library. The container data, or elements, may also be managed by the library, depending on the options specified by the programmer. The aim is to free C programmers from the drudgery of implementing common data structures and algorithms. CAGL also provides some safety by making the containers typed instead of void pointers. Although, at most, two macros are invoked to declare and define a container type, manipulation of the containers is done using functions generated by the macros. A simple naming convention is used to get around the limitation that C doesn't support function overloading.

Download No website Updated 20 Dec 2013 AlgART Libraries

Screenshot
Pop 44.50
Vit 1.04

AlgART Libraries is a collection of Java libraries, supporting generalized smart arrays and matrices with elements of any types, including a wide set of of 2D, 3D, and multidimensional image processing and other algorithms. Main features: 64-bit long int indexes, a memory model concept (allowing storing data in different schemes from RAM to mapped disk files), wide usage of lazy evaluations, built-in multi-threading optimization for multi-core processors, etc.

No download Website Updated 25 Sep 2013 llrb.h

Screenshot
Pop 54.08
Vit 3.64

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 24 Jul 2013 markov.sql

Screenshot
Pop 39.95
Vit 1.43

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.

No download Website Updated 16 Jul 2013 PHP Clarke and Wright Algorithm

Screenshot
Pop 32.80
Vit 16.63

PHP Clarke and Wright Algorithm is a class that can solve a truck routing problem with the Clarke and Wright algorithm. It attempts to solve the problem of determining the routes by which a given number of trucks with different weight and volume capacity will be dispatching deliveries to a certain number of clients distributed geographically within certain time windows. The class takes as parameters the nodes of positions of each client, the demands of each client, a matrix of distance between nodes, and the capacity of each truck. It computes the route for each truck, as well the time and distance to drive to each customer and the volume and weight to transport.

Download Website Updated 15 Jan 2012 BS

Screenshot
Pop 26.53
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 15.59
Vit 29.83

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 21.31
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.

No download No website Updated 26 Sep 2010 bin-packing

Screenshot
Pop 24.66
Vit 36.06

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.24
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.

Screenshot

Project Spotlight

Armadillo C++ Library

A fast C++ matrix library with an API similar to Matlab's.

Screenshot

Project Spotlight

sysfunc

A shell library intended for Unix sysadmins.