HOG2
|
#include <cstdio>
#include <vector>
#include <array>
#include "SearchEnvironment.h"
#include "FPUtil.h"
#include "NBitArray.h"
Go to the source code of this file.
Classes | |
struct | HexagonAction |
class | HexagonState |
class | Hexagon |
class | HexagonSearchState |
class | HexagonEnvironment |
Enumerations | |
enum | tPieceName { kHexagon = 0, kButterfly = 1, kElbow = 2, kLine = 3, kMountains = 4, kWrench = 5, kTriangle = 6, kHook = 7, kTrapezoid = 8, kSnake = 9 } |
enum | tFlipType { kCanFlip = 0, kSide1 = 1, kSide2 = 2 } |
Functions | |
static bool | operator== (const HexagonState &l1, const HexagonState &l2) |
static std::ostream & | operator<< (std::ostream &out, const HexagonAction &a) |
static bool | operator== (const HexagonAction &l1, const HexagonAction &l2) |
static bool | operator== (const HexagonSearchState &l1, const HexagonSearchState &l2) |
Variables | |
const int | numPieces = 10 |
const std::string | pieceNames [numPieces] |
enum tPieceName |
|
static |
|
static |
Definition at line 147 of file Hexagon.h.
References HexagonAction::location, and HexagonAction::piece.
|
static |
Definition at line 152 of file Hexagon.h.
References HexagonSearchState::bits, HexagonSearchState::cnt, and HexagonSearchState::state.
|
static |
Definition at line 70 of file Hexagon.h.
References HexagonState::state.
const int numPieces = 10 |
Definition at line 38 of file Hexagon.h.
Referenced by HexagonEnvironment::BuildFlipTable(), HexagonEnvironment::BuildRotationTable(), Fling::getMaxSinglePlayerRank(), Fling::getMaxSinglePlayerRank2(), and Witness< width, height >::GoalTest().
const std::string pieceNames[numPieces] |
Definition at line 39 of file Hexagon.h.
Referenced by HexagonEnvironment::GeneratePieceCoordinates().