Algorithms and Data structures
Implementations of algorithms and data structures optimized for Elixir's functional programming paradigm. Packages among the 3,000 most downloaded in the past 90 days.
-
12771.8k
-
564530.5k
-
929465.5k
-
1.6k388.7k
-
37344.3k
-
26290.8k
-
libgraph 0.16.0
A high-performance graph datastructure library for Elixir projects
566211.2k last 90 days566211.2k -
296206.3k
-
227189.3k
-
10175.4k
-
103167.5k
-
radix 0.5.0
A bitwise radix tree for prefix based matching on bitstring keys of any length.
11166.1k last 90 days11166.1k -
132163.2k
-
46140.1k
-
106103.8k
-
549101.2k
-
33699.4k
-
crux 0.1.2
Library for boolean satisfiability solving and expression manipulation.
1095.6k last 90 days1095.6k -
murmur 2.0.0
Murmur is a pure Elixir implementation of the non-cryptographic hash Murmur3. It aims to implement the x86_32bit, x86_128bit and x64_128bit variants.
592.9k last 90 days592.9k -
-90.5k
-
a_tree 0.3.3
A dynamic data structure for efficiently indexing arbitrary boolean expressions
077.4k last 90 days077.4k -
15672.3k
-
alphabetify 1.1.0
Create an alphabetical hash. Taking an existing alphabetic hash (of any length), will return the next hash in sequence. If all characters in hash are rolled over, will append a new char (increase the length by 1.) eg. 'ZZZZ' -> 'AAAAA' eg. 'AAAZ' -> 'AABA'
334.5k last 90 days334.5k -
a_k_s_primality_test 1.1.1
A pure Elixir implementation of the AKS (Agrawal-Kayal-Saxena) primality test algorithm.
134.5k last 90 days134.5k -
limited_queue 0.1.2
Simple Elixir queue, with a constant-time `size/1` and a maximum capacity.
2133.1k last 90 days2133.1k -
3430.6k
-
simplify 2.0.1
Implementation of the Ramer–Douglas–Peucker algorithm for reducing the number of points used to represent a curve.
3028.7k last 90 days3028.7k -
4524.6k
-
1823.0k
-
qex 0.5.2
A `:queue` wrapper with improvements in API and addition of Protocol implementations
3422.4k last 90 days3422.4k -
119.2k
-
517.5k
-
2416.3k
-
714.9k
-
accomplice 0.2.0
Accomplice is a library for grouping members of a list with a respect to a number of constraints.
113.4k last 90 days113.4k -
1013.3k
-
aho_corasearch 0.3.0
Elixir lib for Aho-Corasick string searching. Uses a Rust-based NIF for greatly improved performance.
213.0k last 90 days213.0k -
1113.0k
-
heap 3.0.0
Small composable Heap implementation. Heaps sort elements at insert time.
12.8k last 90 days-12.8k -
edit_distance 3.0.1
A pure Gleam package to compute the edit distance of two strings
1012.2k last 90 days1012.2k -
nary_tree 0.1.1
NaryTree implements the data structure for n-ary tree (also called rose tree), where each node in the tree can have zero or more children. NaryTree provides methods for traversal and manipulation of the tree structure and node contents.
1811.7k last 90 days1811.7k -
511.5k
-
abacus_sm 1.0.0
Abacus is a module for transforming other modules into metric systems. These modules (metric systems) make it possible to use functions to create values enclosed in a metric system and functions to manipulate these values.
2211.5k last 90 days2211.5k -
abbrev 0.1.0
Calculates the set of unambiguous abbreviations for a given set of strings.
011.5k last 90 days011.5k -
1311.5k
-
910.5k
-
59.2k
-
168.9k
-
permutation 0.2.0
Permutation is a package and protocol for calculating the possible permutations or combinations of an Enumerable.
48.9k last 90 days48.9k -
aho_corasick_search 0.3.1
Elixir lib for Aho-Corasick string searching. Uses a Rust-based NIF for greatly improved performance.
08.6k last 90 days08.6k -
298.6k
-
368.5k
-
-7.9k
-
combination 0.0.3
Elixir library computing simple combination and permutation on Enumerables.
347.9k last 90 days347.9k -
sorted_set_nif 2.0.1
SortedSet is a fast and efficient Rust backed sorted set.
1.7k7.3k last 90 days1.7k7.3k -
776.9k
-
146.7k
-
arrays 2.1.1
Well-structured Arrays with fast random-element-access for Elixir, offering a common interface with multiple implementations (MapArray, Erlang :array, etc.) with varying performance guarantees that can be switched in your configuration.
906.1k last 90 days906.1k -
95.8k
-
34.6k
-
aho_corasick 0.0.1
Aho-Corasick algorithm, implemented in Elixir using Erlang's :digraph for the graph structure
134.4k last 90 days134.4k -
634.3k
-
14.3k
-
14.3k
-
alltid 0.1.0
Alltid offers a simplified approach to editing deeply nested immutable data structures in Elixir.
14.3k last 90 days14.3k -
Annealing is a library for building and running simulated annealing algorithms in Elixir.
14.3k last 90 days14.3k -
exterval 0.2.0
Real-valued intervals with support for the `Enumerable` protocol.
114.2k last 90 days114.2k -
114.1k
-
134.0k
-
473.8k
-
103.6k
-
1723.3k
-
talan 0.2.0
Probabilistic data structures powered by atomics. Bloom filter, Counting bloom filter, Linear counter (cardinality)
83.3k last 90 days83.3k -
523.3k
-
ringbuffer 1.3.0
RingBuffer - size limited queue, like a ring or cyclic buffer. With non blocking and non locking writers.
53.2k last 90 days53.2k -
83.2k
-
-3.2k
-
463.2k
-
3563.1k
-
ex_rose_tree 0.1.3
A Rose Tree and Zipper in Elixir with a slew of navigation primitives.
253.1k last 90 days253.1k -
153.1k
-
cuckoo_filter 1.0.1
A high-performance, concurrent, and mutable Cuckoo Filter for Erlang and Elixir
482.9k last 90 days482.9k -
unrooted_polytree 0.1.1
GenStagA data type and related functions to support an unrooted (multiple starting nodes) polytree (a tree-like graph with edges).
12.8k last 90 days12.8k -
diff_match_patch 0.3.0
An Elixir implementation of the Google diff_match_patch library.
52.8k last 90 days52.8k -
1412.3k
-
62.2k