Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add powerset_iterator to simgrid::xbt
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 28 Feb 2023 09:24:35 +0000 (10:24 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 28 Feb 2023 09:24:35 +0000 (10:24 +0100)
commitf86afb2f9ce9ffb20109178776980aa665c79c2f
tree44a060ffb16507e25c29c80540ee41d49a364368
parentef624e0fbbf7b42f8460b365e7122f9c48fbbe9f
Add powerset_iterator to simgrid::xbt

The powerset_iterator, as its name suggests,
is an iterator which traverses over all elements
of the power set of the elements traversed by another
iterator. It makes heavy use of the subsets_iterator
from which it derives its functionality (delegation
rather than inheritance)
src/xbt/utils/iter/powerset.hpp [new file with mode: 0644]