All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
osl::move_probability::ToEffect Class Reference

#include <feature.h>

Inheritance diagram for osl::move_probability::ToEffect:
Inheritance graph
[legend]
Collaboration diagram for osl::move_probability::ToEffect:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ToEffect ()
double match (const StateInfo &state, const MoveInfo &info, int offset, const double *w) const

Static Public Member Functions

static const Piece find (const NumEffectState &state, Square to, const PieceMask &remove, Player player)
static void supportAttack (const NumEffectState &state, Square to, const PieceMask &my_pin, const PieceMask &op_pin, Player turn, std::pair< Ptype, Ptype > &out)
static void supportAttack (const StateInfo &info, Square to, Move move, std::pair< Ptype, Ptype > &out)
static size_t supportAttack (const StateInfo &info, Square to, Move move)

Detailed Description

Definition at line 352 of file move_probability/feature.h.


Constructor & Destructor Documentation

Definition at line 355 of file move_probability/feature.h.


Member Function Documentation

static const Piece osl::move_probability::ToEffect::find ( const NumEffectState &  state,
Square  to,
const PieceMask &  remove,
Player  player 
) [inline, static]

Definition at line 358 of file move_probability/feature.h.

References osl::Square::isOnBoard().

Referenced by supportAttack().

double osl::move_probability::ToEffect::match ( const StateInfo state,
const MoveInfo info,
int  offset,
const double *  w 
) const [inline, virtual]
static void osl::move_probability::ToEffect::supportAttack ( const NumEffectState &  state,
Square  to,
const PieceMask &  my_pin,
const PieceMask &  op_pin,
Player  turn,
std::pair< Ptype, Ptype > &  out 
) [inline, static]
static void osl::move_probability::ToEffect::supportAttack ( const StateInfo info,
Square  to,
Move  move,
std::pair< Ptype, Ptype > &  out 
) [inline, static]
static size_t osl::move_probability::ToEffect::supportAttack ( const StateInfo info,
Square  to,
Move  move 
) [inline, static]

Definition at line 390 of file move_probability/feature.h.

References osl::PTYPE_SIZE, and supportAttack().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines