// -*- c++ -*- /*****************************************************************************/ // Copyright (c) Illumina 2008 // Author: Richard Shaw // // This software is covered by the "Illumina Genome Analyzer Software // License Agreement" and the "Illumina Source Code License Agreement", // and certain third party copyright/licenses, and any user of this // source file is bound by the terms therein (see accompanying files // Illumina_Genome_Analyzer_Software_License_Agreement.pdf and // Illumina_Source_Code_License_Agreement.pdf and third party // copyright/license notices). /*****************************************************************************/ #ifndef LIKELIHOOD_CALC #define LIKELIHOOD_CALC /*****************************************************************************/ class Likelihood_Calc { public: Likelihood_Calc(float sum); int operator()(const unsigned int val); private: float my_sum; static const float our_to_base10_factor; static const int our_neutral_score; }; /*****************************************************************************/ #endif // ! LIKELIHOOD_CALC /*****************************************************************************/