abstract class, defines interface for search method implementations More...
#include <search.hpp>
Public Types | |
typedef boost::shared_ptr < CRITERION > | PCriterion |
typedef boost::shared_ptr< SUBSET > | PSubset |
typedef boost::shared_ptr < Result_Tracker< RETURNTYPE, SUBSET > > | PResultTracker |
Public Member Functions | |
virtual bool | search (const DIMTYPE target_d, RETURNTYPE &result, const PSubset sub, const PCriterion crit, std::ostream &os)=0 |
returns found subset of target_d features (optimizes if target_d==0)+ criterion value | |
void | enable_result_tracking (PResultTracker tracker) |
assigns a result tracker to the search process, i.e., enables logging of all evaluated subsets for future reuse (re-evaluation, etc.) | |
void | disable_result_tracking () |
bool | result_tracker_active () const |
void | set_output_detail (OutputDetail detail) |
sets the amount of information that is logged to output stream throughout the course of search | |
OutputDetail | get_output_detail () const |
bool | output_normal () const |
bool | output_detailed () const |
virtual std::ostream & | print (std::ostream &os) const |
Protected Attributes | |
PResultTracker | _tracker |
OutputDetail | _detail |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Search< RETURNTYPE, DIMTYPE, SUBSET, CRITERION > &sr) |
abstract class, defines interface for search method implementations