My Project
Public Member Functions | List of all members
osl::rating::PawnAttackGroup Struct Reference

#include <group.h>

Inheritance diagram for osl::rating::PawnAttackGroup:
osl::rating::Group

Public Member Functions

 PawnAttackGroup ()
 
void show (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
 
int findMatch (const NumEffectState &state, Move move, const RatingEnv &env) const
 
- Public Member Functions inherited from osl::rating::Group
 Group (const std::string &name)
 
 Group (Feature *f)
 
virtual ~Group ()
 
void showMinMax (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
 
void showAll (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
 
void showTopN (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights, int n) const
 
void saveResult (const std::string &directory, const range_t &range, const std::vector< double > &weights) const
 
bool load (const std::string &directory, const range_t &range, std::vector< double > &weights) const
 
virtual bool effectiveInCheck () const
 

Additional Inherited Members

- Public Attributes inherited from osl::rating::Group
std::string group_name
 

Detailed Description

Definition at line 226 of file group.h.

Constructor & Destructor Documentation

◆ PawnAttackGroup()

osl::rating::PawnAttackGroup::PawnAttackGroup ( )
inline

Definition at line 228 of file group.h.

Member Function Documentation

◆ findMatch()

int osl::rating::PawnAttackGroup::findMatch ( const NumEffectState state,
Move  m,
const RatingEnv env 
) const
inlinevirtual
Returns
-1 if not found

Reimplemented from osl::rating::Group.

Definition at line 238 of file group.h.

References osl::rating::RatingEnv::progress.

◆ show()

void osl::rating::PawnAttackGroup::show ( std::ostream &  os,
int  name_width,
const range_t range,
const std::vector< double > &  weights 
) const
inlinevirtual

Reimplemented from osl::rating::Group.

Definition at line 233 of file group.h.

References osl::rating::Group::showAll().


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