My Project
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
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()

static int osl::rating::Karanari::index ( const NumEffectState state,
Move  move 
)
inlinestatic

◆ match()

bool osl::rating::Karanari::match ( const NumEffectState state,
Move  move,
const RatingEnv  
) const
inlinevirtual

◆ matchGeneral()

static bool osl::rating::Karanari::matchGeneral ( const NumEffectState state,
Move  move 
)
inlinestatic

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: