Implements Best Individual Features, i.e., individual feature ranking. More...
#include <search_bif.hpp>
Classes | |
struct | OneFeature |
Structure to hold [feature,criterion value] pair while ranking features in Search_BIF. More... | |
Public Types | |
typedef Search< RETURNTYPE, DIMTYPE, SUBSET, CRITERION > | parent |
typedef boost::shared_ptr < CRITERION > | PCriterion |
typedef boost::shared_ptr< SUBSET > | PSubset |
Public Member Functions | |
virtual bool | search (const DIMTYPE target_d, RETURNTYPE &result, const PSubset sub, const PCriterion crit, std::ostream &os=std::cout) |
returns found subset of target_d features (optimizes if target_d==0)+ criterion value | |
bool | evaluate_individuals (const DIMTYPE n, const PCriterion crit, std::ostream &os=std::cout) |
bool | getFirstBIF (RETURNTYPE &value, DIMTYPE &feature) const |
bool | getNextBIF (RETURNTYPE &value, DIMTYPE &feature) const |
virtual std::ostream & | print (std::ostream &os) const |
Protected Types | |
typedef std::list< OneFeature > | FEATURELIST |
Protected Attributes | |
FEATURELIST | bifs |
Private Attributes | |
FEATURELIST::const_iterator | get_iter |
Implements Best Individual Features, i.e., individual feature ranking.
demo25t.cpp, demo31.cpp, demo33.cpp, and demo33t.cpp.