All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
osl::rating::Group Class Reference

mutually exclusive set of features More...

#include <group.h>

Inheritance diagram for osl::rating::Group:
Inheritance graph
[legend]
Collaboration diagram for osl::rating::Group:
Collaboration graph
[legend]

Public Member Functions

 Group (const std::string &name)
 
 Group (Feature *f)
 
virtual ~Group ()
 
virtual void show (std::ostream &, int name_width, const range_t &range, const vector< double > &weights) const
 
virtual int findMatch (const NumEffectState &state, Move m, const RatingEnv &env) const
 
void showMinMax (std::ostream &os, int name_width, const range_t &range, const vector< double > &weights) const
 
void showAll (std::ostream &os, int name_width, const range_t &range, const vector< double > &weights) const
 
void showTopN (std::ostream &os, int name_width, const range_t &range, const vector< double > &weights, int n) const
 
void saveResult (const std::string &directory, const range_t &range, const vector< double > &weights) const
 
bool load (const std::string &directory, const range_t &range, vector< double > &weights) const
 
virtual bool effectiveInCheck () const
 

Public Attributes

std::string group_name
 

Detailed Description

mutually exclusive set of features

Definition at line 16 of file group.h.

Constructor & Destructor Documentation

osl::rating::Group::Group ( const std::string &  name)

Definition at line 15 of file group.cc.

osl::rating::Group::Group ( Feature f)
inline

Definition at line 22 of file group.h.

osl::rating::Group::~Group ( )
virtual

Definition at line 20 of file group.cc.

Member Function Documentation

virtual bool osl::rating::Group::effectiveInCheck ( ) const
inlinevirtual
int osl::rating::Group::findMatch ( const NumEffectState &  state,
Move  m,
const RatingEnv env 
) const
virtual
bool osl::rating::Group::load ( const std::string &  directory,
const range_t range,
vector< double > &  weights 
) const

Definition at line 47 of file group.cc.

void osl::rating::Group::saveResult ( const std::string &  directory,
const range_t range,
const vector< double > &  weights 
) const

Definition at line 33 of file group.cc.

void osl::rating::Group::show ( std::ostream &  os,
int  name_width,
const range_t range,
const vector< double > &  weights 
) const
virtual
void osl::rating::Group::showAll ( std::ostream &  os,
int  name_width,
const range_t range,
const vector< double > &  weights 
) const
void osl::rating::Group::showMinMax ( std::ostream &  os,
int  name_width,
const range_t range,
const vector< double > &  weights 
) const

Definition at line 85 of file group.cc.

References osl::eval::max(), and osl::eval::min().

void osl::rating::Group::showTopN ( std::ostream &  os,
int  name_width,
const range_t range,
const vector< double > &  weights,
int  n 
) const

Member Data Documentation

std::string osl::rating::Group::group_name

Definition at line 19 of file group.h.


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