Lines Matching refs:Board
5 struct Board { struct
9 constexpr Board() : State(0), Failed(false) {} in Board() argument
10 constexpr Board(const Board &O) : State(O.State), Failed(O.Failed) {} in Board() argument
11 constexpr Board(uint64_t State, bool Failed = false) : in Board() function
13 constexpr Board addQueen(int Row, int Col) const { in addQueen() argument
14 return Board(State | ((uint64_t)Row << (Col * 4))); in addQueen()
35 constexpr Board buildBoardRecurse(int N, int Col, const Board &B); argument
36 constexpr Board buildBoardScan(int N, int Col, int Row, const Board &B);
37 constexpr Board tryBoard(const Board &Try, in tryBoard()
38 int N, int Col, int Row, const Board &B) { in tryBoard()
41 constexpr Board buildBoardScan(int N, int Col, int Row, const Board &B) { in buildBoardScan()
42 return Row == N ? Board(0, true) : in buildBoardScan()
48 constexpr Board buildBoardRecurse(int N, int Col, const Board &B) { in buildBoardRecurse()
51 constexpr Board buildBoard(int N) { in buildBoard()
52 return buildBoardRecurse(N, 0, Board()); in buildBoard()
55 constexpr Board q8 = buildBoard(8);
57 constexpr bool Board::check(const char *p, int Row, int Col) const { in check()