Counters
Some easy to use counters which can be used in more complexes loops.
In this project i include some easy to use counters which can be used in more complexes loops. Some of this counters are :
- BinaryCounter (binary counter)
- PermutCounter (permutation counter)
Binary Counter allow a control of a succession of integer vectors :
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
...
in same way as bits in a byte.
PermutCounter have next succession of arrays (in case of size 4) :
0 1 2 3
0 1 3 2
0 2 1 3
...
3 2 1 0