#include <ptypeTraits.h>
Static Public Member Functions | |
static const char * | name () |
static const char * | csaName () |
Static Public Attributes | |
static const bool | isBasic = true |
static const bool | canPromote = true |
static const bool | betterToPromote = false |
static const Ptype | moveType = KNIGHT |
static const Ptype | basicType = KNIGHT |
static const int | indexMin = 18 |
static const int | indexLimit = 22 |
static const int | dropBlackFromY = 3 |
static const int | dropBlackToY = 9 |
static const int | mayPromoteToY = 5 |
static const int | moveMask = DirectionTraits<UUL>::mask|DirectionTraits<UUR>::mask |
Definition at line 126 of file ptypeTraits.h.
Definition at line 134 of file ptypeTraits.h.
Definition at line 133 of file ptypeTraits.h.
Definition at line 132 of file ptypeTraits.h.
const bool osl::PtypeTraits< KNIGHT >::betterToPromote = false [static] |
Definition at line 130 of file ptypeTraits.h.
const bool osl::PtypeTraits< KNIGHT >::canPromote = true [static] |
Definition at line 129 of file ptypeTraits.h.
const int osl::PtypeTraits< KNIGHT >::dropBlackFromY = 3 [static] |
Definition at line 137 of file ptypeTraits.h.
const int osl::PtypeTraits< KNIGHT >::dropBlackToY = 9 [static] |
Definition at line 138 of file ptypeTraits.h.
const int osl::PtypeTraits< KNIGHT >::indexLimit = 22 [static] |
Definition at line 136 of file ptypeTraits.h.
Definition at line 135 of file ptypeTraits.h.
Referenced by osl::eval::ml::RookSilverKnight::eval(), osl::eval::ml::BishopSilverKnight::eval(), osl::eval::ml::KnightAdvance::eval(), osl::eval::ml::KnightHead::eval(), and osl::state::NumEffectState::findThreatenedPiece().
Definition at line 128 of file ptypeTraits.h.
const int osl::PtypeTraits< KNIGHT >::mayPromoteToY = 5 [static] |
Definition at line 139 of file ptypeTraits.h.
const int osl::PtypeTraits< KNIGHT >::moveMask = DirectionTraits<UUL>::mask|DirectionTraits<UUR>::mask [static] |
Definition at line 140 of file ptypeTraits.h.
Definition at line 131 of file ptypeTraits.h.