@hackage OrderedBits0.0.2.0
Efficient ordered (by popcount) enumeration of bits
Installation
Tested Compilers
Dependencies (5)
Dependents (4)
@hackage/PrimitiveArray, @hackage/MutationOrder, @hackage/ADPfusionSet, @hackage/ADPfusion
OrderedBits
The OrderedBits library provides methods to generate unboxed vectors of Ints (and others) ordered by their population count or Hamming distance to the 0 set. In other words, we enumerate the power set of a given input set.
Such an order is important for dynamic programming algorithms for Hamiltonian path problems and the travelling salesman problem.
Contact
Christian Hoener zu Siederdissen
Leipzig University, Leipzig, Germany
choener@bioinf.uni-leipzig.de
http://www.bioinf.uni-leipzig.de/~choener/