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

#include <captureGroup.h>

Inheritance diagram for osl::rating::ShadowEffectGroup:
osl::rating::Group

Public Member Functions

 ShadowEffectGroup ()
 
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 &) 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 49 of file captureGroup.h.

Constructor & Destructor Documentation

◆ ShadowEffectGroup()

osl::rating::ShadowEffectGroup::ShadowEffectGroup ( )
inline

Definition at line 51 of file captureGroup.h.

Member Function Documentation

◆ findMatch()

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

Reimplemented from osl::rating::Group.

Definition at line 61 of file captureGroup.h.

References osl::effect_util::ShadowEffect::count2(), osl::Move::player(), and osl::Move::to().

◆ show()

void osl::rating::ShadowEffectGroup::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 56 of file captureGroup.h.

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


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