Libsaki
Core library of Pancake Mahjong
Public Types | Public Member Functions | Static Public Member Functions | List of all members
saki::Explain4 Class Reference

Parsed 4-meld complete hand. More...

#include <explain.h>

Public Types

using Iter = std::array< T34, 4 >::const_iterator
 

Public Member Functions

 Explain4 (const std::vector< T34 > &heads, Wait wait, T34 pair, int o3Ct, int c3Ct, int o4Ct, int c4Ct)
 
const std::array< T34, 4 > & heads () const
 
Wait wait () const
 
T34 pair () const
 
Iter sb () const
 
Iter se () const
 
Iter o3b () const
 
Iter o3e () const
 
Iter c3b () const
 
Iter c3e () const
 
Iter o4b () const
 
Iter o4e () const
 
Iter c4b () const
 
Iter c4e () const
 
Iter x34b () const
 
Iter x34e () const
 
int numS () const
 
int numX34 () const
 
int numO3 () const
 
int numC3 () const
 
int numO4 () const
 
int numC4 () const
 

Static Public Member Functions

static std::vector< Explain4make (const TileCount &count, const util::Stactor< M37, 4 > &barks, T34 pick, bool ron)
 

Detailed Description

Parsed 4-meld complete hand.

Head division: [ sequences | open 3 | closed 3 | open 4 | closed 4 ]

'b' for inclusive begin, 'e' for exclusive end 'x34' for both 3 and 4 sequences are sorted by id34-order triplets and quads are not sorted


The documentation for this class was generated from the following files: