|
Libsaki
Core library of Pancake Mahjong
|
An iterable virtual list of all tile-counts whose containing tiles sum up to a given number. More...
#include <tile_count_list.h>
Classes | |
| struct | End |
| class | Iter |
Public Member Functions | |
| TileCountList (int sum, T34 min=T34(0), T34 max=T34(33)) | |
| Contruct a virtual list of hands formed by tiles in range [min, max]. More... | |
| Iter | begin () |
| End | end () |
An iterable virtual list of all tile-counts whose containing tiles sum up to a given number.
Contruct a virtual list of hands formed by tiles in range [min, max].
| sum | Sum of tiles in the hand |
By "hand" we mean maximun of each kind of tile is 4
1.8.13