// $Id: checkcovFanctors.h 6634 2009-07-20 07:00:05Z osnatz $ #ifndef ____CHECKCOV__FANCTORS #define ____CHECKCOV__FANCTORS #include "definitions.h" #include "tree.h" #include "likelihoodComputation.h" using namespace likelihoodComputation; #include "sequenceContainer.h" #include "stochasticProcess.h" #include "logFile.h" #include //#define VERBOS #ifdef VERBOS #include using namespace std; #endif class Cevaluate_L_given_r{ public: explicit Cevaluate_L_given_r( const sequenceContainer& sd, const tree& t1, const stochasticProcess& sp, const int pos) :_sd(sd),_t1(t1),_pos(pos), _sp(sp) {} private: const sequenceContainer& _sd; const tree& _t1; const int _pos; const stochasticProcess& _sp; public: MDOUBLE operator() (const MDOUBLE r) { MDOUBLE tmp1= convert(getLofPos(_pos,_t1,_sd,_sp,r)); #ifdef VERBOS LOG(5,<<" r = "<