Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add LazyPowerSet and LazyKSubsets
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 28 Feb 2023 10:30:28 +0000 (11:30 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 28 Feb 2023 10:30:28 +0000 (11:30 +0100)
commit36d8d9a7afac609726ee95c460e9dc1581f55040
treea7b42e45adabb9ae3e6e053828d23ceaaa88cf34
parent6446bcf03e40f446d97aabba19893b9143b3a158
Add LazyPowerSet and LazyKSubsets

Two new classes were added that act effectively
as convenience methods around creating subset
iterators. The classes themselves act mostly
like iterators but are instead light-weight
"containers" which can be iterated over. Effectively,
they are contains which "contain" the entire
collection of subsets (of size k respectively) of
some collection without actually storing that collection
in memory.
MANIFEST.in
src/xbt/utils/iter/LazyKSubsets.hpp [new file with mode: 0644]
src/xbt/utils/iter/LazyPowerset.hpp [new file with mode: 0644]
tools/cmake/DefinePackages.cmake