#include <minorPiece.h>


Public Types | |
| enum | { ONE_DIM = 14, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
Static Public Member Functions inherited from osl::eval::ml::GoldFeatures | |
| static MultiInt | eval (const NumEffectState &state) |
Additional Inherited Members | |
Public Member Functions inherited from osl::eval::ml::GoldFeatures | |
| template<osl::Player P> | |
| bool | canRetreat (const osl::state::NumEffectState &state, const osl::Piece gold) |
Static Protected Member Functions inherited from osl::eval::ml::GoldFeatures | |
| template<Player P> | |
| static int | indexRetreat (Square pos) |
| static int | indexSideX (Square pos) |
| template<Player P> | |
| static int | indexSideY (Square pos) |
| template<Player P> | |
| static bool | canRetreat (const NumEffectState &state, const Piece gold) |
| template<Player P> | |
| static bool | canMoveToSide (const NumEffectState &state, const Piece gold) |
| template<Player P> | |
| static MultiInt | evalOne (const NumEffectState &state, const Piece gold, const CArray< Square, 2 > &kings) |
Static Protected Attributes inherited from osl::eval::ml::GoldFeatures | |
| static CArray< MultiInt, 153 > | knight_table |
| static CArray< MultiInt, 9 > | retreat_table |
| static CArray< MultiInt, 14 > | side_table |
Definition at line 692 of file minorPiece.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ONE_DIM | |
| DIM | |
Definition at line 695 of file minorPiece.h.
|
static |
Definition at line 387 of file minorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
1.8.4