My Project
osl::rating::BadLance Class Reference

#include <feature.h>

Inheritance diagram for osl::rating::BadLance:
osl::rating::Feature

Public Member Functions

 BadLance (bool h)
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 basicMatch (const NumEffectState &state, Move move, Square front)

Private Attributes

bool has_effect

Detailed Description

Definition at line 217 of file rating/feature.h.

Constructor & Destructor Documentation

◆ BadLance()

osl::rating::BadLance::BadLance ( bool h)
inlineexplicit

Definition at line 221 of file rating/feature.h.

References osl::rating::Feature::Feature(), and has_effect.

Member Function Documentation

◆ basicMatch()

◆ match()

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

Member Data Documentation

◆ has_effect

bool osl::rating::BadLance::has_effect
private

Definition at line 219 of file rating/feature.h.

Referenced by BadLance(), and match().


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