#include <piecePairKing.h>
|
template<osl::Player King> |
int | evalOne (const NumEffectState &state) |
|
template<osl::Player King> |
int | add (const NumEffectState &state, Square to, Ptype ptype) |
|
template<osl::Player King> |
int | sub (const NumEffectState &state, Square from, Ptype ptype) |
|
template<osl::Player King> |
int | addSub (const NumEffectState &state, Square to, Ptype ptype, Square from) |
|
template<osl::Player P> |
void | evalWithUpdateBang (const NumEffectState &state, Move moved, CArray< int, 2 > &last_value) |
|
|
static void | setUp (const Weights &weights) |
|
static CArray< int, 2 > | eval (const NumEffectState &) |
|
template<Player P> |
static void | evalWithUpdateBang (const NumEffectState &state, Move moved, CArray< int, 2 > &last_value) |
|
template<Player King> |
static int | evalOne (const NumEffectState &) |
|
|
template<Player King> |
static int | add (const NumEffectState &state, Square to, Ptype ptype) |
|
template<Player King> |
static int | sub (const NumEffectState &state, Square from, Ptype ptype) |
|
template<Player King> |
static int | addSub (const NumEffectState &state, Square to, Ptype ptype, Square from) |
|
static int | composeIndex (int king, int i0, int i1) |
|
static int | indexWhite (Square p) |
|
static int | indexKing (Player owner, Square king, bool &flipx) |
|
template<bool FlipX> |
static int | indexPiece (Player owner, Square position, Ptype ptype) |
|
Definition at line 15 of file piecePairKing.h.
template<Player King>
static int osl::eval::ml::PiecePairKing::add |
( |
const NumEffectState & |
state, |
|
|
Square |
to, |
|
|
Ptype |
ptype |
|
) |
| |
|
staticprivate |
template<osl::Player King>
int osl::eval::ml::PiecePairKing::add |
( |
const NumEffectState & |
state, |
|
|
Square |
to, |
|
|
Ptype |
ptype |
|
) |
| |
template<Player King>
static int osl::eval::ml::PiecePairKing::addSub |
( |
const NumEffectState & |
state, |
|
|
Square |
to, |
|
|
Ptype |
ptype, |
|
|
Square |
from |
|
) |
| |
|
staticprivate |
template<osl::Player King>
int osl::eval::ml::PiecePairKing::addSub |
( |
const NumEffectState & |
state, |
|
|
Square |
to, |
|
|
Ptype |
ptype, |
|
|
Square |
from |
|
) |
| |
static int osl::eval::ml::PiecePairKing::composeIndex |
( |
int |
king, |
|
|
int |
i0, |
|
|
int |
i1 |
|
) |
| |
|
inlinestaticprivate |
osl::CArray< int, 2 > osl::eval::ml::PiecePairKing::eval |
( |
const NumEffectState & |
state) | |
|
|
static |
template<Player King>
static int osl::eval::ml::PiecePairKing::evalOne |
( |
const NumEffectState & |
) | |
|
|
static |
template<osl::Player King>
int osl::eval::ml::PiecePairKing::evalOne |
( |
const NumEffectState & |
state) | |
|
template<Player P>
template void osl::eval::ml::PiecePairKing::evalWithUpdateBang< WHITE > |
( |
const NumEffectState & |
state, |
|
|
Move |
moved, |
|
|
CArray< int, 2 > & |
last_value |
|
) |
| |
|
static |
template<osl::Player P>
void osl::eval::ml::PiecePairKing::evalWithUpdateBang |
( |
const NumEffectState & |
state, |
|
|
Move |
moved, |
|
|
CArray< int, 2 > & |
last_value |
|
) |
| |
Definition at line 215 of file piecePairKing.cc.
References osl::alt(), osl::captured(), osl::Move::capturePtype(), osl::Move::from(), osl::Move::isDrop(), osl::Move::isPass(), osl::isPromoted(), osl::KING, osl::Move::oldPtype(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_EMPTY, osl::Square::squareForBlack(), osl::Move::to(), and osl::Square::y().
static int osl::eval::ml::PiecePairKing::indexKing |
( |
Player |
owner, |
|
|
Square |
king, |
|
|
bool & |
flipx |
|
) |
| |
|
inlinestaticprivate |
template<bool FlipX>
static int osl::eval::ml::PiecePairKing::indexPiece |
( |
Player |
owner, |
|
|
Square |
position, |
|
|
Ptype |
ptype |
|
) |
| |
|
inlinestaticprivate |
static int osl::eval::ml::PiecePairKing::indexWhite |
( |
Square |
p) | |
|
|
inlinestaticprivate |
void osl::eval::ml::PiecePairKing::setUp |
( |
const Weights & |
weights) | |
|
|
static |
template<Player King>
static int osl::eval::ml::PiecePairKing::sub |
( |
const NumEffectState & |
state, |
|
|
Square |
from, |
|
|
Ptype |
ptype |
|
) |
| |
|
staticprivate |
template<osl::Player King>
int osl::eval::ml::PiecePairKing::sub |
( |
const NumEffectState & |
state, |
|
|
Square |
from, |
|
|
Ptype |
ptype |
|
) |
| |
osl::CArray< osl::int16_t, 1488375 > osl::eval::ml::PiecePairKing::table |
|
staticprivate |
The documentation for this class was generated from the following files: