dulrich / lib

An assortment of structure and algorithm implementations for amusement, use in other projects, or comparison.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lib

basic data structures and algorithms

implementations

To compile and test a particular structure, struct, run cd <path>/lib/struct && make. Each Makefile has the standard commands:

  • run : run the tests in main.c
  • memtest : run the tests inside of valgrind

algorithms

  • regex (limited)

structures

  • list (doubly linked)
  • queue
  • red-black tree
  • stack

license / copying

lib is copyright (C) 2015 - 2016 David Ulrich.

For full license details see LICENSE.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

An assortment of structure and algorithm implementations for amusement, use in other projects, or comparison.

License:GNU Affero General Public License v3.0


Languages

Language:C 79.3%Language:Python 9.7%Language:C++ 6.8%Language:Makefile 3.5%Language:Prolog 0.6%