8 #ifndef IMPSCORE_FUNCTOR_SCORE_UNARY_FUNCTION_H
9 #define IMPSCORE_FUNCTOR_SCORE_UNARY_FUNCTION_H
11 #include <IMP/score_functor/score_functor_config.h>
15 IMPSCOREFUNCTOR_BEGIN_NAMESPACE
19 template <
class Score,
int D=2>
29 return score_.get_score_and_derivative(
nullptr,
34 virtual double evaluate(
double feature)
const IMP_OVERRIDE {
35 return score_.get_score(
nullptr,
43 IMPSCOREFUNCTOR_END_NAMESPACE