C++11 implementations of fundamental data structures and algorithms, living as a subdirectory of GraphX.
Note: Binary tree code lives at
../tree/(GraphX root), compiled here as thebinary_treetarget.
linked_list/— Single and double linked list implementationsalg/— Memory alignment, permutations, combinations, and moremix/— Queue, sparse matrixunit_test/— Google Test suite (requires externalcgadslibrary)
mkdir build && cd build
cmake ..
makeTargets: linked_list, binary_tree, sparse_matrix, algorithm, mem_align, array_string, permutation_combination, and more.
ctest
# or directly:
./unit_test/unit_test.runGTest is auto-detected by CMake. unit_test additionally requires the cgads library.
Docs are in ../docs/tree/, ../docs/alg/, ../docs/cpp/ and served via the GraphX MkDocs site:
cd .. && mkdocs serve