24 #ifndef _CRITERIA_DISTANCE_HPP_ 25 #define _CRITERIA_DISTANCE_HPP_ 49 void setParameters(
const vectord ¶ms)
51 size_t nParameters() {
return 1;};
53 double operator() (
const vectord &x)
55 const vectord x2 = mProc->getData()->getLastSampleX();
56 return mW*norm_2(x-x2);
58 std::string name() {
return "cDistance";};
Namespace of the library interface.
Abstract class to implement Bayesian regressors.
Abstract interface for criteria functors.
Abstract and factory modules for criteria.