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

#include <checkmate.h>

Inheritance diagram for osl::rating::Threatmate:
Inheritance graph
[legend]
Collaboration diagram for osl::rating::Threatmate:
Collaboration graph
[legend]

List of all members.

Classes

struct  Helper

Public Member Functions

 Threatmate ()
bool match (const NumEffectState &state, Move move, const RatingEnv &) const

Static Public Member Functions

static bool isCandidate (const NumEffectState &state, Move move)
static bool knight2Step (const NumEffectState &state, Move move, Square king)
static bool captureForKnightCheck (const NumEffectState &state, Move move, Square king)

Detailed Description

Definition at line 27 of file checkmate.h.


Constructor & Destructor Documentation

Definition at line 30 of file checkmate.h.


Member Function Documentation

bool osl::rating::Threatmate::captureForKnightCheck ( const NumEffectState &  state,
Move  move,
Square  king 
) [static]
bool osl::rating::Threatmate::isCandidate ( const NumEffectState &  state,
Move  move 
) [static]
bool osl::rating::Threatmate::knight2Step ( const NumEffectState &  state,
Move  move,
Square  king 
) [static]
bool osl::rating::Threatmate::match ( const NumEffectState &  state,
Move  move,
const RatingEnv  
) const [virtual]

Implements osl::rating::Feature.

Definition at line 94 of file checkmate.cc.

References result.


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