CallbackEvaluator< FT > Class Template Reference
#include <evaluator.h>
Public Member Functions | |
CallbackEvaluator (std::function< callback_evaluator_callback > callbackf, void *ctx=NULL, size_t nr_solutions=1, EvaluatorStrategy update_strategy=EVALSTRATEGY_BEST_N_SOLUTIONS, bool find_subsolutions=false) | |
virtual | ~CallbackEvaluator () |
virtual void | eval_sol (const vector< FT > &new_sol_coord, const enumf &new_partial_dist, enumf &max_dist) |
Public Member Functions inherited from FastEvaluator< FT > | |
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) |
Constructor & Destructor Documentation
◆ CallbackEvaluator()
template<class FT >
|
inline |
◆ ~CallbackEvaluator()
template<class FT >
|
inlinevirtual |
Member Function Documentation
◆ eval_sol()
template<class FT >
|
inlinevirtual |
interface for the enumerator
Reimplemented from FastEvaluator< FT >.
The documentation for this class was generated from the following file:
- fplll/enum/evaluator.h