UNPKG

aureooms-js-algo

Version:

playground for algorithmic code bricks in JavaScript

87 lines (72 loc) 6.66 kB
[js-algo](http://aureooms.github.io/js-algo) == Algorithms code bricks in JavaScript. This is a child project of [js-library](https://github.com/aureooms/js-library) and the twin project of [js-data-structures](https://github.com/aureooms/js-data-structures). [![NPM license](http://img.shields.io/npm/l/aureooms-js-algo.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-algo/master/LICENSE) [![NPM version](http://img.shields.io/npm/v/aureooms-js-algo.svg?style=flat)](https://www.npmjs.org/package/aureooms-js-algo) [![Bower version](http://img.shields.io/bower/v/aureooms-js-algo.svg?style=flat)](http://bower.io/search/?q=aureooms-js-algo) [![Build Status](http://img.shields.io/travis/aureooms/js-algo.svg?style=flat)](https://travis-ci.org/aureooms/js-algo) [![Coverage Status](http://img.shields.io/coveralls/aureooms/js-algo.svg?style=flat)](https://coveralls.io/r/aureooms/js-algo) [![Dependencies Status](http://img.shields.io/david/aureooms/js-algo.svg?style=flat)](https://david-dm.org/aureooms/js-algo#info=dependencies) [![devDependencies Status](http://img.shields.io/david/dev/aureooms/js-algo.svg?style=flat)](https://david-dm.org/aureooms/js-algo#info=devDependencies) [![Code Climate](http://img.shields.io/codeclimate/github/aureooms/js-algo.svg?style=flat)](https://codeclimate.com/github/aureooms/js-algo) [![NPM downloads per month](http://img.shields.io/npm/dm/aureooms-js-algo.svg?style=flat)](https://www.npmjs.org/package/aureooms-js-algo) [![GitHub issues](http://img.shields.io/github/issues/aureooms/js-algo.svg?style=flat)](https://github.com/aureooms/js-algo/issues) [![Inline docs](http://inch-ci.org/github/aureooms/js-algo.svg?branch=master&style=shields)](http://inch-ci.org/github/aureooms/js-algo) ## Description This project is just a playground for any algorithm that doesn't fit in any of those project, - [aureooms/js-cg](https://github.com/aureooms/js-cg) : computational geometry code bricks for JavaScript - [aureooms/js-complex](https://github.com/aureooms/js-complex) : complex numbers code bricks for JavaScript - [aureooms/js-equation](https://github.com/aureooms/js-equation) : equations system code bricks for JavaScript - [aureooms/js-fft](https://github.com/aureooms/js-fft) : fast Fourier transform code bricks for JavaScript - [aureooms/js-fibonacci](https://github.com/aureooms/js-fibonacci) : Fibonacci numbers code bricks for JavaScript - [aureooms/js-gn](https://github.com/aureooms/js-gn) : graphs and networks code bricks for JavaScript - [aureooms/js-hash](https://github.com/aureooms/js-hash) : hashing algorithms code bricks for JavaScript - [aureooms/js-ho](https://github.com/aureooms/js-ho) : heuristic optimization code bricks for JavaScript - [aureooms/js-hypermatrix](https://github.com/aureooms/js-hypermatrix) : hypermatrices code bricks for JavaScript - [aureooms/js-integer](https://github.com/aureooms/js-integer) : multi-precision arithmetic code bricks for JavaScript - [aureooms/js-matrix](https://github.com/aureooms/js-matrix) : matrices code bricks for JavaScript - [aureooms/js-nlp](https://github.com/aureooms/js-nlp) : natural language processing code bricks for JavaScript - [aureooms/js-oro](https://github.com/aureooms/js-oro) : operations research and optimization algorithm templates for JavaScript - [aureooms/js-permutation](https://github.com/aureooms/js-permutation) : permutations code bricks for JavaScript - [aureooms/js-pfsp-wt](https://github.com/aureooms/js-pfsp-wt) : permutation flow-shop problem (PFSP) with weighted tardiness objective (PFSP-WT) code bricks for JavaScript - [aureooms/js-polynomial](https://github.com/aureooms/js-polynomial) : sparse and dense polynomials code bricks for JavaScript - [aureooms/js-prime](https://github.com/aureooms/js-prime) : prime numbers code bricks for JavaScript - [aureooms/js-random](https://github.com/aureooms/js-random) : randomness code bricks for JavaScript - [aureooms/js-rational](https://github.com/aureooms/js-rational) : rational numbers code bricks for JavaScript - [aureooms/js-search](https://github.com/aureooms/js-search) : item retrieval code bricks for JavaScript - [aureooms/js-splitting](https://github.com/aureooms/js-splitting): splitting code bricks for JavaScript - [aureooms/js-sort](https://github.com/aureooms/js-sort) : sorting code bricks for JavaScript - [aureooms/js-in-situ-sort-spec](https://github.com/aureooms/js-in-situ-sort-spec): in place sorting code bricks for JavaScript - [aureooms/js-heapsort](https://github.com/aureooms/js-heapsort): heapsort code bricks for JavaScript - [aureooms/js-quicksort](https://github.com/aureooms/js-quicksort): quicksort code bricks for JavaScript - [aureooms/js-mergesort](https://github.com/aureooms/js-mergesort): mergesort code bricks for JavaScript - [aureooms/js-merging](https://github.com/aureooms/js-merging): merging code bricks for JavaScript - [aureooms/js-partition](https://github.com/aureooms/js-partition): partition code bricks for JavaScript - [aureooms/js-selection](https://github.com/aureooms/js-selection): selection code bricks for JavaScript - [aureooms/js-string](https://github.com/aureooms/js-string) : character sequence code bricks for JavaScript Those packages aim to provide *code bricks* that are as generic as possible. Some examples are a Gauss-Jordan method that can work with any number model, a Karatsuba algorithm that can handle any block size, a Graham Scan algorithm that works with clockwise or counter clockwise ordering, and a Monotone Chain algorithm that can be used as a triangulation algorithm without any change. ## Reference A list of links and projects focusing on algorithm implementation. ### Projects implementing algorithms in JavaScript - https://github.com/felipernb/algorithms.js - https://github.com/mgechev/javascript-algorithms - https://github.com/nzakas/computer-science-in-javascript - http://www.nayuki.io ### Projects implementing algorithms in other languages - https://github.com/xtaci/algorithms (C++) - https://github.com/fragglet/c-algorithms (C) - https://github.com/nryoung/algorithms (Python) - https://github.com/kanwei/algorithms (Ruby) - https://github.com/phishman3579/java-algorithms-implementation (Java) - https://github.com/patmorin/ods (C++, Java, Python) - http://www.nayuki.io (C, C++, Java, C#, Python, Haskell, MATLAB and others) - http://rosettacode.org (All kinds of languages) ### Others - http://stackoverflow.com/questions/26301/your-favourite-algorithm-and-the-lesson-it-taught-you - http://cglab.ca/publications.html