FastEvaluator< FT > Class Template Reference
#include <evaluator.h>
Public Member Functions | |
FastEvaluator (size_t nr_solutions=1, EvaluatorStrategy update_strategy=EVALSTRATEGY_BEST_N_SOLUTIONS, bool find_subsolutions=false) | |
virtual | ~FastEvaluator () |
virtual void | eval_sol (const vector< FT > &new_sol_coord, const enumf &new_partial_dist, enumf &max_dist) |
virtual void | eval_sub_sol (int offset, const vector< FT > &new_sub_sol_coord, const enumf &sub_dist) |
Public Member Functions inherited from Evaluator< FT > | |
Evaluator (size_t nr_solutions=1, EvaluatorStrategy update_strategy=EVALSTRATEGY_BEST_N_SOLUTIONS, bool find_subsolutions=false) | |
virtual | ~Evaluator () |
container_t::const_reverse_iterator | begin () const |
container_t::const_reverse_iterator | end () const |
container_t::reverse_iterator | begin () |
container_t::reverse_iterator | end () |
size_t | size () const |
bool | empty () const |
virtual void | eval_sol (const vector< FT > &new_sol_coord, const enumf &new_partial_dist, enumf &max_dist)=0 |
virtual void | eval_sub_sol (int offset, const vector< FT > &new_sub_sol_coord, const enumf &sub_dist)=0 |
virtual void | set_normexp (long norm_exp) |
Additional Inherited Members | |
Public Types inherited from Evaluator< FT > | |
typedef std::multimap< FT, std::vector< FT >, std::greater< FT > > | container_t |
Data Fields inherited from Evaluator< FT > | |
size_t | max_sols |
EvaluatorStrategy | strategy |
bool | findsubsols |
container_t | solutions |
size_t | sol_count |
std::vector< std::pair< FT, std::vector< FT > > > | sub_solutions |
long | normExp |
Protected Member Functions inherited from Evaluator< FT > | |
virtual enumf | calc_enum_bound (const FT &dist) const |
void | process_sol (const FT &dist, const vector< FT > &coord, enumf &max_dist) |
Detailed Description
template<class FT>
class FastEvaluator< FT >
class FastEvaluator< FT >
Simple solution evaluator which provides a result without error bound. The same instance can be used for several calls to enumerate on different problems.
Constructor & Destructor Documentation
◆ FastEvaluator()
template<class FT >
|
inline |
◆ ~FastEvaluator()
template<class FT >
|
inlinevirtual |
Member Function Documentation
◆ eval_sol()
template<class FT >
|
inlinevirtual |
◆ eval_sub_sol()
template<class FT >
|
inlinevirtual |
Implements Evaluator< FT >.
The documentation for this class was generated from the following file:
- fplll/enum/evaluator.h