#include <TrivialWeightEstimator.h>
Public Member Functions | |
TrivialWeightEstimator * | clone () const |
double | weight (const std::vector< const T * > &) const |
trivial WeightEstimator that returns 1.
Definition at line 13 of file TrivialWeightEstimator.h.
TrivialWeightEstimator* TrivialWeightEstimator< T >::clone | ( | void | ) | const [inline, virtual] |
Implements WeightEstimator< T >.
Definition at line 21 of file TrivialWeightEstimator.h.
{ return new TrivialWeightEstimator<T> ( *this ); };
double TrivialWeightEstimator< T >::weight | ( | const std::vector< const T * > & | ) | const [inline, virtual] |
Implements WeightEstimator< T >.
Definition at line 16 of file TrivialWeightEstimator.h.
{
return 1.0;
}