Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Changelog

All notable changes to Aleph-w are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

<a href="https://github.com/lrleon/Aleph-w/compare/v7.9.0...v7.10.0" >7.10.0</a> (2026-12-01)

Features

  • matrix: Take the columns of a Packed_Matrix from an array (#250) (de6ad7b)

Bug Fixes

  • matrix: Let a Packed_Row have more than 256 columns with Clang (#250) (de6ad7b)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.6...v7.9.0" >7.9.0</a> (2026-12-01)

Features

  • matrix: Add Packed_Matrix, a matrix whose columns are bit fields (#245) (9622a48)
  • random: Add Random_Source, on SplitMix64 or the Mersenne Twister (fec3761)

Bug Fixes

  • bitarray: Allocate every byte in BitArray::reserve() (#248) (30598a4)
  • bitarray: Assert that the fast access of a BitArray stays below its size (#248) (30598a4)
  • Build and move a linear hash table without allocating (cfeccfd)
  • Build, copy and move the randomized structures without allocating (fec3761)
  • dynsettree: Reuse the room of the nodes in the arena of a set (#248) (30598a4)
  • htlist: Let Snodenc::get_first() compile (#248) (30598a4)
  • Let a Splay_Tree_Rk_Vtl insert, search and remove nodes (cfeccfd)
  • Let the move assignment of a Random_Set throw what the swap of its items does (cfeccfd)
  • Move a set on a tree without building a key or a comparison (cfeccfd)
  • Stop copying an Avl_Tree, an Avl_Tree_Rk or a splay tree that is moved (cfeccfd)

Performance Improvements

  • Make the directory of a DynArray when it first writes (cfeccfd)

Deprecated

  • rng() of Treap, Treap_Rk, Rand_Tree, SkipList, DynSkipList, Random_Set and Interval_Tree: on a structure that was given no seed it makes a Mersenne Twister of some 2,500 bytes, from which the structure draws from then on; use random_source(). Removal in 8.0.0; see docs/release-notes/7.9.0.md.

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.5...v7.8.6" >7.8.6</a> (2026-11-27)

Bug Fixes

  • flow: Forget the super nodes that leave a Net_Sup_Dem_Graph: after an assignment, a swap() or a move through a reference to Net_Graph, a remove_node() of one of them, clear_graph() or a copy_graph() into the network, free_aux_net() and is_feasible() used nodes that the network no longer had (#240) (0a39117)
  • flow: List every supply and demand in non_feasible_nodes() when a super node is missing: in a network that only supplies or only demands it gave two empty lists, after a flow, while is_feasible() said that nothing was shipped (#240) (0a39117)
  • flow: Refuse a stale auxiliary network in Net_Cap_Graph::update() (#238) (8eaf12f)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.4...v7.8.5" >7.8.5</a> (2026-11-26)

Bug Fixes

  • filter: Give the remainder bit that it asks for to a rate just under a power of two, in from_capacity() and estimate() of the quotient filters, which rounded it to the power and gave a filter of a rate above the one asked (#233) (e47bc63)
  • filter: Keep every item when two quotient filters are merged: merge() of Compact_Quotient_Filter dropped without a word the items that did not fit, and the filter then denied items that it had taken; the two filters now take all the items or throw and stay as they were (#233) (e47bc63)
  • filter: Refuse in Bloom_Filter::estimate() a probability that is not a number, with invalid_argument, where it gave a filter of 2^63 bits (#235) (592f792)
  • filter: Refuse in from_capacity() and estimate() of the quotient filters a count of items and a rate that no filter has, which gave a filter with fewer slots than items, or with another rate (#233) (e47bc63)
  • filter: Refuse in the cuckoo filters and in Bloom_Filter::estimate() a count of items whose buckets or bits a size_t does not count, with overflow_error, where a filter of one bucket was built (#235) (592f792)
  • filter: Take again an item that a full quotient filter holds, in insert() of Compact_Quotient_Filter and in merge() of Quotient_Filter, which threw overflow_error for it (#233) (e47bc63)
  • functional: Convert each item once in maps<R>() without an operation, in the containers of the mixins, where it went to R, back and to R again; copy it once in maps(), where it was copied and moved; and let the copy of an item throw there instead of ending the program (#233) (e47bc63)
  • graph: Look in In_Iterator of a digraph and in the filter of the arcs that Kruskal paints at the call of the arc filter that they make, and let end() of Digraph_Iterator throw what its filter throws, where they ended the program (#235) (592f792)
  • heap: Sort with heapsort() and faster_heapsort() without a pointer to one item before the array (#235) (592f792)
  • Let the conversion to bool of what a comparison or a filter returns throw where it is a condition, in the trees of intervals, the filtered iterators of the graphs and of the containers, Kruskal, the searches, the sorts and the functors that compare by default, as Aleph::less, which ended the program (#235) (592f792)
  • Refuse in Static_Event_Table, Simplex and the hash tables a size whose bytes do not fit in a size_t, with overflow_error, where new[] was left to ask the allocator for the largest size_t (#235) (592f792)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.3...v7.8.4" >7.8.4</a> (2026-11-25)

Bug Fixes

  • filter: Keep the items of a quotient filter when another one is removed: remove() of Quotient_Filter and of Compact_Quotient_Filter left the filter denying items that it held, or looping for ever (#230) (93c2729)

Performance Improvements

  • Copy each item once, with no move, in keys(), values() and items() of the maps, the lists and the mixins (#230) (93c2729)
  • filter: Read and write the slots of the quotient filters without checks, which their constructors make needless: from 8 to 48 % fewer instructions in insert(), contains() and remove() (#230) (93c2729)
  • opBinTree: Read with no check the entries that build_optimal_tree() wrote before: 37 to 60 % fewer instructions (#230) (93c2729)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.2...v7.8.3" >7.8.3</a> (2026-11-24)

Bug Fixes

  • hash: Delete the copy of a LinearHashTable, which shared the buckets of the other table, so that destroying one of the two freed those that the other one still held (#225) (53125e6)
  • hash: Swap through its copies a comparator that can be copied and not moved in ODhashTable, OLhashTable and the linear tables, whose swap() and move assignment did not compile with it, nor the moves of DynSetLinHash (#225) (53125e6)
  • tree: Let a tree or a binary heap built by default, or from a comparison, throw what the default construction or the copy of the comparison throws, instead of ending the program (#225) (53125e6)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.1...v7.8.2" >7.8.2</a> (2026-11-24)

Bug Fixes

  • array: Take the array in the move of FixedQueue, which allocated a queue of 1024 items for the queue that it moved from, and leave that one without capacity, as a moved-from FixedStack (#223) (fd55078)
  • hash: Free the bucket of a key whose insertion in a DynSetLinHash or a DynMapLinHash throws for want of memory, and swap two linear hash tables without building a third array (#223) (fd55078)
  • hash: Take the lists of the other table in the move of DynSetLhash, DynSetHash and DynMapHash, which allocated for it the lists of a table of its capacity in a constructor that is noexcept, and let a table without lists take keys again (#223) (fd55078)
  • heap: Let the constructors of BinHeap, BinHeapVtl and DynBinHeap throw what the default construction of the key of their header node throws (#223) (fd55078)
  • list: Take the header node of the other list in the move of a DynDlist of items whose default construction may throw, instead of building one in a constructor that was noexcept (#223) (fd55078)
  • matrix: Let the default constructor, the moves and swap() of DynMatrix throw what the default construction of its default value throws, with the matrices as they were (#223) (fd55078)
  • tree: Let the move of DynSetTree, DynMapTree and AHMapping throw what the default construction of the key of the header nodes of its empty tree throws, instead of ending the program in a constructor that was noexcept; it stays noexcept when that construction cannot throw (#223) (fd55078)

Performance Improvements

  • hash: Hash the pairs of MapODhash, MapOLhash, HashMap, DynMapHash and DynMapLinHash through a function object that holds the pointer to the hash function of the keys, instead of a std::bind that each copy and each move of the map allocated (#223) (fd55078)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.8.0...v7.8.1" >7.8.1</a> (2026-11-23)

Bug Fixes

  • array: Compute the capacity of FixedQueue with std::bit_ceil(), instead of a shift that was undefined for 0 and past 2^63 and gave FixedQueue(2^63 + 1) a capacity of 1 (#221) (911b3f8)
  • array: Refuse in MemArray, ArrayHeap, FixedQueue and FixedStack a capacity whose bytes do not fit in a size_t before new[], for which GCC with items that have a destructor, and Clang with any, asked the allocator for SIZE_MAX bytes (#221) (911b3f8)
  • bitarray: Compute the bytes of BitArray::set_size() without the sum that wrapped for the last seven sizes of size_t and lost the bits of the array, and refuse a size whose bytes a DynArray cannot hold (#221) (911b3f8)
  • dynarray: Refuse an index past Max_Dim_Allowed in touch(), operator[], reserve() and adjust() of DynArray, as its constructor does, instead of taking it or beginning to allocate every block up to it (#221) (911b3f8)
  • heap: Refuse an ArrayHeap whose array of d + 1 entries does not fit in a size_t, which wrapped to none for SIZE_MAX, so that the first insertion wrote past it (#221) (911b3f8)

Performance Improvements

  • maps: Take the pairs by reference in keys() and values() of DynMapTree, DynMapHashTable and MapOpenHash, which copied the key and the value of each pair before copying the one that they return (#220) (99ff02c)
  • random: Copy each item once in the copy constructor and the assignment of Random_Set, which took it by value before appending it (#220) (99ff02c)
  • sort: Copy each item of the list once in ranks() and pair_ranks(), which took it by value and, in pair_ranks(), copied it again to its pair (#220) (99ff02c)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.7.5...v7.8.0" >7.8.0</a> (2026-11-22)

Features

  • huffman: Add Adaptive_Huffman.H, a one-pass adaptive Huffman codec of bytes (FGK) whose encoder and decoder take their input in chunks (#213) (cab9f92)

Bug Fixes

  • bitarray: Move a BitArray without the allocation of an empty one, which ended the program when memory ran out (#217) (9885d0b)
  • heap: Keep the elements and the minimum of Fibonacci_Heap and ArcFibonacciHeap when the comparison throws in extract_min(), delete_node(), decrease_key() or update_key(), which keeps its node when the key increases (#219) (07acbba)
  • heap: Leave ArrayHeap as it was when the copy of an item throws in insert(), which counted the item before copying it, and make getMin() move its items instead of copying them (#219) (07acbba)
  • heap: Leave ArrayHeap, BinHeap, DynBinHeap and ArcHeap as they were when the comparison throws in an insertion, an extraction, a removal or an update, instead of counting or linking an item out of order or losing the one taken out (#219) (07acbba)
  • heap: Make heapsort() and faster_heapsort() return before they move their pointer when there is nothing to sort, since an offset applied to a null pointer is undefined (#219) (07acbba)
  • heap: Make verify_heap() of the node heap look at every node, instead of going down by the right children only (#219) (07acbba)
  • huffman: Leave a Huffman encoder with its symbols when the generation of its tree runs out of memory, instead of losing the nodes that were out of the heap (#217) (9885d0b)
  • trees: Keep an interval tree as it was when its comparison, or a copy of an endpoint, throws in an insertion or a removal, instead of keeping a freed node, leaving nodes that hang twice or losing the node taken out (#217) (9885d0b)
  • trees: Make search() of DynIntervalTree noexcept only when its comparison does not throw, and remove the prev() of its iterator, which did not compile (#217) (9885d0b)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.7.4...v7.7.5" >7.7.5</a> (2026-11-21)

Bug Fixes

  • array: Give a DynArray a new block once it is filled with the default value, instead of losing it or keeping it half filled when a copy of that value throws (#215) (ead9c71)
  • heap: Bound the iterator of a DynArrayHeap by its items instead of its array, which showed the entries that reserve() made as items (#215) (ead9c71)
  • heap: Keep a DynArrayHeap as it was when its comparison throws in an insertion or an extraction, or an insertion runs out of memory, instead of leaving it out of order, losing its minimum or counting an item that it did not have (#215) (ead9c71)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.7.3...v7.7.4" >7.7.4</a> (2026-11-20)

Bug Fixes

  • concurrency: Value-initialize the value of a Synchronized or RwSynchronized built by default, which was indeterminate for a scalar (#210) (bdf3325)
  • huffman: Keep the encoder whole when memory runs out for a new symbol, instead of leaving a freed leaf in its heap and freeing it twice (#212) (6c5f6fc)
  • trees, hash, heap: Let the code of the user throw from the constructions, moves and swaps of the trees, the buckets of the open hash tables and the sifts of DynArrayHeap, instead of ending the program (#210) (bdf3325)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.7.2...v7.7.3" >7.7.3</a> (2026-11-19)

Bug Fixes

  • bitarray: Reject a header of BitArray::load() whose count of bytes wraps around, and reserve each byte when it is read (#207) (cc8090e)
  • list, tree: Make T() the item of a Dnode or Tree_Node built by default, which was indeterminate for the scalars (#207) (cc8090e)

Performance Improvements

  • maps: Search DynMapTree by the key with two comparisons per level (#206) (55b3542)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.7.1...v7.7.2" >7.7.2</a> (2026-11-19)

Bug Fixes

  • ca: Disable the copies of Hashlife_Engine and Tile_Cache, which were wrong (#201) (cad51e5)
  • ca: Keep Stationary_Detector from removing from an empty buffer with a window of SIZE_MAX (#204) (65571f4)
  • ca: Leave moved-from engines, lattices and observers empty and usable (#201) (cad51e5)
  • ca: Let Stationary_Detector throw std::bad_alloc with its buffers in step instead of ending the program (#204) (65571f4)
  • concurrency: Leave a moved-from lock guard without the value (#201) (cad51e5)
  • csv: Leave a moved-from CsvReader reading nothing (#201) (cad51e5)
  • dynarray: Keep DynArray::swap() and DynArrayHeap coherent when the swap of the default value throws (#201) (65571f4)
  • fenwick: Leave a moved-from Fenwick tree empty and usable (#201) (cad51e5)
  • fft: Leave moved-from FFT and NTT plans, convolvers and filters empty (#201) (cad51e5)
  • filters: Leave a moved-from cuckoo or quotient filter empty and usable (#201) (cad51e5)
  • geometry: Leave a moved-from RangeTree2D or AABBTree empty (#201) (cad51e5)
  • graph: Leave moved-from graph and tree algorithms empty and usable (#201) (cad51e5)
  • hash: Keep a chained hash table and its keys whole when an allocation fails as it grows or places its keys again (#204) (65571f4)
  • hash: Keep the linear hash tables from ending the program when a copy of a key throws as they grow or shrink (#204) (65571f4)
  • hash: Place the keys of a chained or open hash table again in set_hash_fct(), and refuse a linear table that has keys (#204) (65571f4)
  • lists: Keep del_ne() of the iterators of Dlink and DynList from throwing inside noexcept (#204) (65571f4)
  • maps: Find the pairs of DynMapHash and DynMapLinHash after set_hash_fct(), which also takes a hash function of the keys (#204) (65571f4)
  • maps: Let the searches of MapOLhash and MapODhash throw what the copy of the key throws instead of ending the program (#204) (65571f4)
  • maps: Search DynMapTree by the key, without building a pair, so that a search does not allocate (#204) (65571f4)
  • nodes: Let the copies and moves of the keys of the nodes and of Dnode throw instead of ending the program (#204) (65571f4)
  • rand-tree: Throw std::out_of_range from split_pos() past the end instead of ending the program (#204) (65571f4)
  • search: Leave a moved-from solution collector empty (#201) (cad51e5)
  • simplex: Reject put_restriction() once the tableau exists, and print the ranges of the errors without wrapping (#204) (65571f4)
  • skiplist: Lower the level of SkipList::remove() and keep it from reading past its top (#204) (65571f4)
  • strings: Leave a moved-from Aho_Corasick or suffix structure empty (#201) (cad51e5)
  • structures: Leave moved-from trees, tables, heaps and skip lists empty (#201) (cad51e5)
  • trees: End the iterators of the ranked trees at a position that an int cannot hold, instead of wrapping around (#204) (65571f4)
  • trees: End the iterators of the ranked trees past the end instead of throwing, and let that of Avl_Tree_Rk and Rb_Tree_Rk compile (#204) (65571f4)
  • trees: Free and uncount the node that a removal of DynSetTree or DynMapTree takes out when copying what it returns throws (#204) (65571f4)
  • trees: Let the comparison of the trees throw through their operations instead of ending the program (#204) (65571f4)
  • zip: Let get_curr_ne() of the zip iterators throw what the copy of an item throws (#204) (65571f4)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.7.0...v7.7.1" >7.7.1</a> (2026-11-17)

Bug Fixes

  • bplus: Keep the tree whole when an insertion runs out of memory (#200) (d136024)
  • csv: Keep the bytes of a short stream in csv_skip_bom() (#199) (18e76c8)
  • fft: Find every zero of a polynomial whose balancing shrinks a term (#200) (d136024)
  • graph: Do not compile _In_Iterator on a digraph type (#193) (ad21976)
  • link-cut: Export a tree whose vertices come before their parents (#199) (18e76c8)
  • list: Free the items of a DynList or DynSkipList whose build throws (#194) (c207d54)
  • net: Validate the lines of a DIMACS file when importing a network (#199) (18e76c8)
  • polynomial: Do not hang when a floating division overflows (#199) (18e76c8)
  • sort: Let a throwing comparison through the heapsorts (#200) (d136024)
  • streaming: Leave a moved-from sketch empty and usable (#200) (d136024)
  • zip: Call the operation of the zip functions as an lvalue (#199) (18e76c8)

Performance Improvements

  • array: Copy and grow a MemArray of trivial items with memcpy() (#195) (52d4553)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.6.2...v7.7.0" >7.7.0</a> (2026-11-15)

Features

  • graph: Add Bounded_Cycle_Index, the short cycles through each arc (04786c9)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.6.1...v7.6.2" >7.6.2</a> (2026-11-13)

Performance Improvements

  • errors: Keep the stream of an error message out of the frame (#188) (5b44752)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.6.0...v7.6.1" >7.6.1</a> (2026-11-12)

Bug Fixes

  • examples: Read the time of each sort before checking its result (#187) (63b36f9)

Performance Improvements

  • flow: Use unchecked accessors and Aleph containers in the flows (#182) (53b4580)
  • sort: Sort with pattern-defeating quicksort in introsort() (#186) (80cb659)
  • sort: Take the median of three in the sorts of a DynArray (#187) (63b36f9)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.5.0...v7.6.0" >7.6.0</a> (2026-11-11)

Bug Fixes

  • flow: Make the floating flows end and reach their optimum (#173) (b5e8522)
  • flow: Support infinite capacities in every flow algorithm (#179) (3996f1e)

Deprecated

  • float as the type of a flow: Net_Arc warns when it is instantiated with it, as its precision is below what the tolerances of the floating flows need; use double. Rejected in 8.0.0; see docs/release-notes/7.6.0.md.
  • Network_Simplex::set_lower_bound(), get_lower_bound() and residual_lower(): Network_Simplex supports no lower bound but 0; use the flow of the arc instead of residual_lower(). Removal in 8.0.0.

<a href="https://github.com/lrleon/Aleph-w/compare/v7.4.0...v7.5.0" >7.5.0</a> (2026-11-08)

Features

  • Harden al-*.H, K2Tree, the thread pools, IO_Graph, Eppstein and Johnson (#171) (395efc4)
  • numeric: Constrain the keys and the numbers of al-*.H by concepts (#171) (395efc4)

Bug Fixes

Performance Improvements

  • geometry: Compute VoronoiDiagramFortune as VoronoiDiagram does (#171) (395efc4)

Deprecated

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.6...v7.4.0" >7.4.0</a> (2026-11-06)

Features

  • build: Make GSL optional with ALEPH_WITH_GSL (#169) (e6c6b4d)
  • random: Replace GSL in the random generators (#166) (0a4884d)
  • random: Replace GSL in the randomized structures (#164) (700e98a)

Bug Fixes

  • lfit: Take the errors from the residuals, and fit without GSL (#167) (d899edd)
  • random: Clear rand_gen when gen_random_euclidian_graph() throws (#166) (0a4884d)
  • random: Make RandTree not copyable, since a copy freed its generator twice (#166) (0a4884d)
  • random: Throw on the element of Reservoir_Sampler after 2^32 - 1 ones, which made GSL end the program (#166) (0a4884d)
  • treap: Take the nodes and the generator in a move of Treap and Treap_Rk, which kept the head of the moved one (#164) (700e98a)

Deprecated

  • gsl_rng_object() of Treap, Rand_Tree, SkipList, DynSkipList and Interval_Tree, and Random_Set::get_rng(): use rng(), which gives their Gsl_Compatible_Rng. They exist only while ALEPH_WITH_GSL is 1. Removal in 8.0.0; see docs/release-notes/7.4.0.md.
  • ran_array.h (ran_start(), ran_arr_next(), ran_arr_ptr and ran_arr_cycle()), Knuth's generator, which nothing of Aleph uses: use the engines of <random>. Removal in 8.0.0, with ran_array.c.
  • aleph-exceptions.H (AlephException, its exceptions, DEFINE_ALEPH_EXCEPTION and ALEPHTHROW): use the macros of ah-errors.H. Removal in 8.0.0; LFit, which throws SizeMismatch until then, throws std::invalid_argument from 8.0.0.

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.5...v7.3.6" >7.3.6</a> (2026-11-04)

Bug Fixes

  • simplex: Give RevisedSimplex a first phase, and refactorize its inverse of the basis (#162) (4acb0b3)
  • simplex: Keep Dantzig's rule from cycling on degenerate programs (#162) (4acb0b3)
  • simplex: Make print_matrix(), latex_matrix() and latex_solve() compile (#162) (4acb0b3)
  • simplex: Read the solution from the basic variable of each row (#162) (4acb0b3)
  • simplex: Scale the program before solving it (#162) (4acb0b3)
  • simplex: Solve in two phases, and fix the sensitivity analysis (#162) (4acb0b3)
  • simplex: Take the constraints with a negative right-hand side as written (#162) (4acb0b3)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.4...v7.3.5" >7.3.5</a> (2026-11-04)

Bug Fixes

  • list: Keep the item that DynList::Iterator::del() removes when its move throws (#161) (836cb1a)
  • list: Lower the size of DynListStack and DynListQueue on a delete through their iterators (#161) (836cb1a)

Performance Improvements

  • list: Keep the count of the items of DynList (#161) (836cb1a)
  • list: Split the doubly linked lists without moving their nodes (#159) (6eb7416)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.3...v7.3.4" >7.3.4</a> (2026-11-03)

Bug Fixes

  • Address the small items of the 7.3.3 backlog (#157) (4905326)
  • list: Keep the first item of DynList, DynListStack and DynListQueue when its move throws (#157) (4905326)
  • graph: Make Unconnected_Components and inconnected_components() throw on a digraph (#157) (4905326)
  • graph: Make map_in_arcs and map_out_arcs take an actual std::function with T given (#157) (4905326)
  • flow: Give the random preflow a seed, and make a floating flow fail to compile under -ffast-math (#157) (4905326)
  • tree: Turn off a warning of GCC 12 and on about free_detached_tree(), where nothing dangles (#157) (4905326)
  • test: Build the tests of the lists without elisions, and share the helpers of the contract matrix (#157) (4905326)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.2...v7.3.3" >7.3.3</a> (2026-11-02)

Bug Fixes

  • Address the 7.3.2 review and test the graphs exhaustively (#155) (951e9a0)
  • errors: Take the condition of the throwing macros as an if does, and make them a while again (#155) (951e9a0)
  • graph: Let what the arc filters throw reach the caller of every algorithm (#155) (951e9a0)
  • graph: Make the shortest paths, Johnson and the k shortest paths work near the limits of the type (#155) (951e9a0)
  • graph: Give the arcs into a node of a digraph, with In_Arcs_Index and the forms that take the graph (#155) (951e9a0)
  • graph: Take the filter object where only its type could be given (#155) (951e9a0)
  • graph: Make the walks of Eppstein go on from the target (#155) (951e9a0)
  • flow: Give the maximum flow with floating capacities, and with an arc from the source to the sink (#155) (951e9a0)
  • matching: Make the Hungarian assignment right near the limits, and the bipartite matching maximum on graphs that are not directed (#155) (951e9a0)
  • list: Keep the items of the sorts of lists and of DynDlist when a comparison or a move throws (#155) (951e9a0)
  • heap: Keep the Fibonacci heaps whole when the move of their comparison throws (#155) (951e9a0)
  • test: Test the graph algorithms exhaustively, and their filters by a contract matrix (#155) (951e9a0)
  • graph: Make latex_floyd.H take the lightest of the parallel arcs (#153) (5b4d233)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.1...v7.3.2" >7.3.2</a> (2026-10-29)

Bug Fixes

  • Address the 7.2.2 and 7.3.1 reviews and the graph audit (#151) (7143029)
  • errors: Make the throwing macros a loop that runs once, and reject a message that gives void (#151) (7143029)
  • graph: Make the depth-first searches iterative (#151) (7143029)
  • graph: Give every planar graph its LR embedding (#151) (7143029)
  • graph: Make the copies of the graph algorithms map back to the graph (#151) (7143029)
  • graph: Let the random generators build one graph after another (#151) (7143029)
  • heap: Keep the Fibonacci heaps whole when the comparison throws (#151) (7143029)
  • sort: Make mergesort() stable (#151) (7143029)
  • tree: Make the functions of the trees and their writers iterative (#151) (7143029)
  • heap: Let DynBinHeap pass on what the comparison throws (#149) (87a2a34)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.3.0...v7.3.1" >7.3.1</a> (2026-10-26)

Bug Fixes

  • graph: Make Floyd-Warshall stop at the first negative cycle (#147) (e74203e)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.2.2...v7.3.0" >7.3.0</a> (2026-10-26)

Features

  • graph: Let Floyd-Warshall and the weight totals take a distance (#145) (62c621d)

Bug Fixes

  • errors: Make the conditional macros take no else (#145) (62c621d)
  • graph: Let the weight totals pass on what the distance throws (#145) (62c621d)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.2.1...v7.2.2" >7.2.2</a> (2026-10-26)

Bug Fixes

  • graph: Make Kruskal accept a distance held in a variable (#144) (34ce543)
  • heap: Empty the Fibonacci heaps without overflowing the stack (#143) (7fcb07e)
  • heap: Keep the heaps valid across swap, moves and clear() (#141) (2131b3d)
  • graph: Make a copy of Kruskal keep its own distance (#144) (34ce543)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.2.0...v7.2.1" >7.2.1</a> (2026-10-24)

Bug Fixes

  • graph: Make Floyd-Warshall handle parallel arcs and loops (#139) (2c4ccb5)
  • graph: Make Prim map its tree back and free its data on failure (#140) (aadcb40)
  • graph: Make Prim order arcs by its distance and paint its tree (#137) (c2960a4)
  • heap: Let what the comparison throws reach the caller of the binary heap (#137) (c2960a4)
  • graph: Make Floyd-Warshall throw when a distance underflows (#139) (2c4ccb5)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.1.2...v7.2.0" >7.2.0</a> (2026-10-22)

Features

Bug Fixes

  • trees: Check the depth in generate_tree() before writing past its buffer (#127) (2f5436f)
  • hash: Keep the capacity, without throwing or ending the program, when a removal cannot shrink the table for lack of memory (#130) (0d27b83)
  • hash: Make DynLhashTable use its comparator, keep its configuration in copies and refuse a key already in the table (#130) (0d27b83)
  • hash: Check the pointer given to ODhashTable::remove_ptr() (#130) (0d27b83)
  • hash: Keep busy_slots() of the linear hash table equal to its busy lists (#130) (0d27b83)
  • hash: Stop the chained tables from rebuilding at the same size or growing back when they shrink (#130) (0d27b83)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.1.1...v7.1.2" >7.1.2</a> (2026-10-20)

Bug Fixes

<a href="https://github.com/lrleon/Aleph-w/compare/v7.1.0...v7.1.1" >7.1.1</a> (2026-10-19)

Bug Fixes

  • build: Ship libalephca_c and make the .deb install on more distros (#122) (c7f2856)

<a href="https://github.com/lrleon/Aleph-w/compare/v7.0.1...v7.1.0" >7.1.0</a> (2026-10-18)

Features

  • concurrency: Deliver cancellation to condition-variable waiters (#119) (11c5c01)

Bug Fixes

  • hash: Count removed keys' buckets and stop del() at the last key (#121) (d37658b)

Deprecated

  • CancellationToken::notify_on_cancel(std::condition_variable &) (thread_pool.H): use notify_on_cancel(cv, mutex), which cannot miss the notification. Removal no earlier than 8.0.0. Taking the address of notify_on_cancel now needs the type of the overload; see docs/release-notes/7.1.0.md.

<a href="https://github.com/lrleon/Aleph-w/compare/v7.0.0...v7.0.1" >7.0.1</a> (2026-10-17)

Bug Fixes

  • build: Export C++20 and make the headers compile alone and together (#117) (dc63843)
  • concurrency: Deliver cancellations safely and recover failed starts (#116) (da6a686)
  • containers: Keep FlatMap, FlatSet and tree sets valid under aliasing, exceptions and degenerate shapes (#109) (259d152)
  • docs: Correct build and versioning docs and brace error macros (#118) (b7c9afb)
  • graph: Use the given distance and free cookies in shortest paths (#113) (3c011f5)
  • hash: Handle failed insertions, full tables and shrinking in open addressing tables (#112) (e2b1280)
  • hash: Keep hash tables consistent through copy, move and swap (#111) (c6291a4)
  • overflow: Make pattern readers and engines report integer overflow (#114) (f6810cb)

<a href="https://github.com/lrleon/Aleph-w/compare/v6.1.0...v7.0.0" >7.0.0</a> (2026-10-12)

⚠ BREAKING CHANGES

  • array: Overhaul MemArray, Array, and ArrayQueue (#108)

Features

  • array: Overhaul MemArray, Array, and ArrayQueue (#108) (3503de8)
  • fuzz: Add libFuzzer harnesses for DynArray, sorting, compiler front end and CSV utilities (#105) (21e388a)

Bug Fixes

  • ca: Bound the live cells read_rle stores (#107) (d8f113f)

<a href="https://github.com/lrleon/Aleph-w/compare/v6.0.0...v6.1.0" >6.1.0</a> (2026-10-04)

Features

<a href="https://github.com/lrleon/Aleph-w/compare/v5.11.0...v6.0.0" >6.0.0</a> (2026-09-28)

⚠ BREAKING CHANGES

  • add TikZ galleries and tighten container APIs (#98)

Features

  • add TikZ galleries and tighten container APIs (#98) (97cd79b)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.10.0...v5.11.0" >5.11.0</a> (2026-07-20)

Features

  • core: agregar MemorySanitizer, mejorar Regular_Polygon, QuadTre… (#95) (334bed0)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.9.0...v5.10.0" >5.10.0</a> (2026-07-19)

Features

  • core: Implement R-tree and R*-tree data structures (#93) (d8389ea)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.8.0...v5.9.0" >5.9.0</a> (2026-07-14)

Features

  • core: Add persistent treap and vector containers (#88) (f0e3e7f)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.7.0...v5.8.0" >5.8.0</a> (2026-07-12)

Features

  • core: Add Rope data structure implementation (#87) (74a40dc)
  • core: Implement Radix and Patricia Tries (a9246ec)
  • core: Implement Radix and Patricia Tries (79c00de)
  • core: Implement Radix and Patricia Tries (#85) (09d58c2)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.6.0...v5.7.0" >5.7.0</a> (2026-07-07)

Features

  • core: Add concurrent hash map example and tests (3e2a7c6)
  • core: Add concurrent hash map example and tests (7c16eee)
  • core: Implement lock-free MPSC queue (6ea8125)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.5.0...v5.6.0" >5.6.0</a> (2026-07-07)

Features

  • mdspan: Implement mdspan views and examples (#75) (cdaae30)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.4.0...v5.5.0" >5.5.0</a> (2026-07-05)

Features

<a href="https://github.com/lrleon/Aleph-w/compare/v5.3.0...v5.4.0" >5.4.0</a> (2026-07-03)

Features

  • core: Add flat_map, flat_set, ring_buffer, small_vector (#71) (4bf55e0)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.2.0...v5.3.0" >5.3.0</a> (2026-07-01)

Features

  • core: Add expected parsing for CA IO (#68) (9165f0c)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.1.0...v5.2.0" >5.2.0</a> (2026-06-30)

Features

  • cpp-compat: add polyfill for std::expected with C++23 monadic ops (#66) (a11be29)

<a href="https://github.com/lrleon/Aleph-w/compare/v5.0.0...v5.1.0" >5.1.0</a> (2026-06-29)

Features

  • Windows/MSVC and clang-cl port for Aleph-w (#58) (342b831)
  • Flat, versioned C ABI (libalephca_c / ca-c-api.h) exposing the cellular-automata engine to any language with a C FFI, plus a pure-C smoke test and experimental Rust bindings (bindings/rust/).
  • Cellular-automata documentation: a six-chapter tutorial (docs/tutorial/), a performance tuning guide (docs/performance.md), and a reproducible 16-rule visual gallery (docs/gallery/) with a docs-build link-check workflow.
  • Property-based tests and a libFuzzer harness (Tests/fuzz/) for the RLE/Life/CSV/checkpoint parsers.
  • OSS compliance: SECURITY.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, Dependabot, REUSE 3.x licensing with a reuse-lint gate, and a reproducible-build check.
  • Coverage: Codecov upload and a per-module (tpl_ca_*.H vs ca-*.H) coverage breakdown.

Security

  • Checkpoint loader hardened against unbounded allocation (CWE-789 / CWE-190): read_raw_payload now bounds the declared payload_size against the actual file size and inspect_checkpoint validates cell_count against the extents. Surfaced by the new checkpoint fuzzer; regression tests added.

Bug Fixes

  • Relicensed 88 legacy Examples/ files from GPL-3.0 to MIT so the repository is uniformly MIT.
  • Tarjan.H: fixed two latent _stack/stack_ typos that broke Debug builds instantiating connected_components/test_connectivity, and corrected the SCC documentation.

<a href="https://github.com/lrleon/Aleph-w/compare/v4.0.0...v5.0.0" >5.0.0</a> (2026-06-20)

⚠ BREAKING CHANGES

  • cellular automata framework, packaging and 4.0.0 release infrastructure (#55)

Features

  • ah-stl-functional: Implement reserve for stl_range and stl_linspace (af612d6)
  • ah-stl-functional: Implement reserve for stl_range and stl_linspace (5c49df6)
  • archeap: Add move constructors and assignments (af612d6)
  • archeap: Add move constructors and assignments (5c49df6)
  • cellular automata framework, packaging and 4.0.0 release infrastructure (#55) (730d5f3)
  • driven_table: Add Event_Table<Signature> for type safety (4325d64)
  • driven_table: Add Event_Table<Signature> for type safety (f4d9347)
  • driven_table: Add Event_Table<Signature> for type safety (1f177e5)
  • driven_table: Add Event_Table<Signature> for type safety (9a6aec7)
  • driven_table: Add move constructors and assignments for Static_Event_Table (af612d6)
  • driven_table: Add move constructors and assignments for Static_Event_Table (5c49df6)
  • functional: Add sum, product, min, max, join, to_vector/dynlist methods (6a169f9)
  • functional: Implement unique, intersperse, chunk, sliding, zip_with (6a169f9)
  • geometry: Add Constrained Delaunay and Fortune's Voronoi algorithms (91eb6fd)
  • graph: Consolidate graph utilities and remove redundant files (af612d6)
  • graph: Consolidate graph utilities and remove redundant files (5c49df6)
  • linalg: Add matrix_dims helper for modular_linalg.H (6a169f9)
  • Migrate installation to INSTALL.md (af612d6)
  • Migrate installation to INSTALL.md (5c49df6)
  • protected_lhash, protected_odhash: Disable copy/move for thread-safe hash tables (af612d6)
  • protected_lhash, protected_odhash: Disable copy/move for thread-safe hash tables (5c49df6)
  • quadtree: Add move constructors and assignments (af612d6)
  • quadtree: Add move constructors and assignments (5c49df6)
  • ringfilecache: Use strncpy for cache file name in RingFileCache (af612d6)
  • ringfilecache: Use strncpy for cache file name in RingFileCache (5c49df6)

Bug Fixes

  • minhash: Update iterator concept and constructor initialization (6a169f9)
  • parse_utils: Catch const std::out_of_range& instead of out_of_range (af612d6)
  • parse_utils: Catch const std::out_of_range& instead of out_of_range (5c49df6)
  • reservoir-sampling: Correct overflow check in update (6a169f9)

<a href="https://github.com/lrleon/Aleph-w/compare/v4.0.0...HEAD"

>Unreleased

Security

  • Checkpoint loader hardening (CWE-789 / CWE-190). load_checkpoint_into could be driven into a multi-gigabyte allocation by a hostile or corrupt checkpoint header. read_raw_payload now bounds the declared payload_size against the actual file size, and inspect_checkpoint rejects headers whose cell_count is inconsistent with the declared extents or whose cell_count * state_type_size would overflow. Surfaced by the new checkpoint fuzzer (Phase 26); regression tests in Tests/ca_checkpoint_safety_test.cc.

Added

  • Property-based tests (Tests/ca_properties_test.cc): particle conservation for BBM_Rule/TM_Gas_Rule, Margolus reversibility, synchronous-engine determinism and at_safe well-definedness, each swept over many random grids.
  • Fuzzing harness (Tests/fuzz/, Phase 26): libFuzzer targets for the RLE, Life 1.05/1.06, CSV and checkpoint parsers, with seed corpora and a weekly fuzz workflow.
  • OSS compliance (Phase 30): SECURITY.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, Dependabot config, REUSE 3.x licensing (REUSE.toml + LICENSES/) with a reuse-lint job, and a reproducible-build check (repro-build).
  • Coverage (Phase 27): Codecov upload, README coverage/REUSE badges and a per-module (tpl_ca_*.H vs ca-*.H) coverage breakdown in CI.
  • Documentation (Phase 28): a six-chapter CA tutorial (docs/tutorial/), a performance tuning guide (docs/performance.md), and a reproducible visual gallery (docs/gallery/, 16 rendered rules) generated by scripts/regen_gallery.sh / Examples/ca_gallery_gen.cc, gated by a docs-build workflow with an internal link checker.
  • C ABI shim (Phase 25): a flat, versioned C ABI (ca-c-api.h) built as the libalephca_c shared library, exposing the Game-of-Life engine to any language with a C FFI. Includes a pure-C smoke test (Tests/c_abi_smoke.c) and experimental Rust bindings (bindings/rust/: aleph-ca-sys + aleph-ca), gated by the c-abi workflow.

Changed

  • Relicensed 88 legacy Examples/ files that still carried GPL-3.0 headers to MIT, making the repository uniformly MIT (the copyright holder's decision; resolves the contradiction with the root LICENSE).

<a href="https://github.com/lrleon/Aleph-w/compare/v3.1.1...v4.0.0"

>4.0.0

‍Version note: this is the first release cut after v3.1.1. The cellular automata work was drafted internally under the milestone label "v2.0 (industrial baseline)", but the public release line was already at 3.x, so the milestone ships as 4.0.0 to preserve SemVer ordering.

Added

  • Cellular-automata framework: lattices, neighborhoods, synchronous / asynchronous / parallel engines, Hashlife, multi-field SoA engines, and a broad set of rules (Game of Life, Wolfram, Gray-Scott, stochastic, block).
  • Visualization and I/O sinks for CA: ASCII, SVG, PNG, GIF, NPY, VTK, TikZ, DOT, an HTML player, an X11 live viewer and an optional FFmpeg sink.
  • Checkpointing with optional DEFLATE compression (vendored miniz backend).
  • Weekly scientific reproductions (reproductions/) with quantitative gates.
  • Performance-regression gate (benchmarks/) with six anchor benchmarks, a CI perf gate, baseline tracking and a 90-day trend page.
  • Python bindings (python/) published as the aleph-ca wheel.
  • Packaging and distribution:
    • CMake package config exporting the Aleph::Aleph and Aleph::CA imported targets via find_package(Aleph 2.0 COMPONENTS CA REQUIRED).
    • CPack source/.deb/.rpm generators and a release.yml workflow on v* tags.
    • vcpkg port, Conan recipe and Spack package.
    • Canonical VERSION file and this changelog.

Changed

  • Project version bumped to 4.0.0; CMake now reads it from the VERSION.txt file instead of hard-coding it.

Deprecated

  • Event_Fct, Legacy_Static_Event_Table and Legacy_Dynamic_Event_Table (driven_table.H): use the templated Event_Table<Signature> family with typed signatures. Removal no earlier than 5.0.0.
  • UseCondVar (useCondVar.H): prefer std::condition_variable or Aleph::bounded_channel<T> from concurrency_utils.H. Removal no earlier than 5.0.0.
  • Note: the Exception_Prototypes macro (ahDefs.H) remains documented as deprecated; dynamic exception specifications do not compile under the C++20 baseline, so the macro is unusable and will be removed in 5.0.0 (attributes cannot be attached to macros).

Changed (BREAKING) — CA module migrated from <tt>std::vector</tt> to <tt>Aleph::Array</tt>

All public CA signatures that exposed std::vector now expose Aleph::Array (phase 27.5.B). Exceptions are documented in docs/std-vector-whitelist.md. Affected signatures:

  • ca-io.H: Binary_Cell_Pattern::comments → Array<std::string>, Binary_Cell_Pattern::alive → Array<Coord_Vec<2>>, Grid_Snapshot<T>::cells → Array<T>, and ca_io_detail::split_comment_lines returns Array<std::string>.
  • ca-observer.H: Density_Observer::counts()/totals(), Activity_Observer::activity(), Entropy_Observer::entropy(), Sampling_Observer::snapshots()/step_indices() return const Array<…>& instead of const std::vector<…>&.
  • ca-frame-stream.H: Directory_Frame_Sink::written_frames() returns const Array<std::pair<std::size_t, std::filesystem::path>>&.
  • ca-metrics.H: state_histogram returns Array<ca_size_t>.
  • tpl_ca_graph_automaton.H: Graph_Lattice constructor takes const Array<Array<std::size_t>>&; make_grid_graph_adjacency and make_path_graph_adjacency return Array<Array<std::size_t>>.
  • ca-gif.H: ca_gif_detail::Frame::pixels → Array<RGB8>; write_gif takes const Array<ca_gif_detail::Frame>&.

Migration guide (std::vector → Aleph::Array):

std::vector idiom Aleph::Array equivalent
v.push_back(x) v.append(x)
v.emplace_back(a, b) v.append(T{a, b})
v.empty() v.is_empty()
v.data() &v.base() (guard with is_empty())
v.erase(v.begin()) (void) v.remove_first()
v.resize(n, x) while (v.size() < n) v.append(x);
std::vector<T> v(n) Array<T> v(n, T{}) (Array(n) reserves capacity, it does NOT size)
std::sort(v.begin(), v.end()) quicksort(&v.base(), 0, long(v.size()) - 1) (tpl_sort_utils.H)
range-for, v.size(), v[i], v.reserve(n), v.clear() unchanged

<a href="https://github.com/lrleon/Aleph-w/compare/v3.1.0...v3.1.1" >3.1.1</a> — 2026-04-05

Fixed

  • Removed redundant namespace directives and consolidated error handling.

<a href="https://github.com/lrleon/Aleph-w/compare/v3.0.0...v3.1.0" >3.1.0</a> — 2026-03-05

Added

  • Four shortest-path algorithms: Bidirectional BFS, Dial, IDA* and 0-1 BFS.

Fixed

  • Geometry bug fixes; interval-tree improvements.

<a href="https://github.com/lrleon/Aleph-w/compare/Genius...v3.0.0" >3.0.0</a> — 2026-01-27

Added

  • Large expansion of data structures and algorithms coverage, utility and infrastructure additions, and a significantly more complete test suite over the older Genius baseline.

Changed

  • License updated from GPLv3 to MIT.

<a href="https://github.com/lrleon/Aleph-w/releases/tag/Genius1.0" >Genius</a> — 2022-03-08

Added

  • Historical baseline: header-dominant C++ library of data structures and algorithms (sequences, trees, hash tables, graphs, geometry, numeric and compiler utilities) under namespace Aleph.