My Project
osl::rating::Karanari Class Reference

#include <karanari.h>

Inheritance diagram for osl::rating::Karanari:
osl::rating::Feature

Public Member Functions

 Karanari (bool b, bool c)
 
bool match (const NumEffectState &state, Move move, const RatingEnv &) const
 
- Public Member Functions inherited from osl::rating::Feature
 Feature (const std::string &name)
 
virtual ~Feature ()
 
virtual bool effectiveInCheck () const
 
const std::string & name () const
 

Static Public Member Functions

static bool matchGeneral (const NumEffectState &state, Move move)
 
static int index (const NumEffectState &state, Move move)
 

Private Attributes

bool bishop
 
bool can_promote_area
 

Detailed Description

Definition at line 12 of file karanari.h.

Constructor & Destructor Documentation

◆ Karanari()

osl::rating::Karanari::Karanari ( bool b,
bool c )
inline

Definition at line 16 of file karanari.h.

Member Function Documentation

◆ index()

◆ match()

◆ matchGeneral()

Member Data Documentation

◆ bishop

bool osl::rating::Karanari::bishop
private

Definition at line 14 of file karanari.h.

Referenced by match().

◆ can_promote_area

bool osl::rating::Karanari::can_promote_area
private

Definition at line 14 of file karanari.h.

Referenced by match().


The documentation for this class was generated from the following file: