My Project
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
osl::rating::PatternLongGroup2 Class Reference

#include <patternGroup.h>

Inheritance diagram for osl::rating::PatternLongGroup2:
osl::rating::Group

Public Member Functions

 PatternLongGroup2 (int d)
 
Direction makeDirection (Ptype ptype) const
 
void show (std::ostream &os, int name_width, const range_t &range, const std::vector< double > &weights) const
 
int findMatch (const NumEffectState &state, Move m, const RatingEnv &env) const
 
bool effectiveInCheck () 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
 

Static Private Member Functions

static std::string name (int direction_id)
 

Private Attributes

int direction_id
 

Additional Inherited Members

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

Detailed Description

Definition at line 54 of file patternGroup.h.

Constructor & Destructor Documentation

◆ PatternLongGroup2()

osl::rating::PatternLongGroup2::PatternLongGroup2 ( int  d)

Member Function Documentation

◆ effectiveInCheck()

bool osl::rating::PatternLongGroup2::effectiveInCheck ( ) const
inlinevirtual

Reimplemented from osl::rating::Group.

Definition at line 73 of file patternGroup.h.

◆ findMatch()

int osl::rating::PatternLongGroup2::findMatch ( const NumEffectState state,
Move  m,
const RatingEnv env 
) const
virtual

◆ makeDirection()

Direction osl::rating::PatternLongGroup2::makeDirection ( Ptype  ptype) const
inline

◆ name()

std::string osl::rating::PatternLongGroup2::name ( int  direction_id)
staticprivate

Definition at line 141 of file patternGroup.cc.

◆ show()

void osl::rating::PatternLongGroup2::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 67 of file patternGroup.h.

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

Member Data Documentation

◆ direction_id

int osl::rating::PatternLongGroup2::direction_id
private

Definition at line 57 of file patternGroup.h.

Referenced by makeDirection().


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