NCBI C++ ToolKit
gnomon_engine.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef ALGO_GNOMON___GNOMON_ENGINE__HPP
2 #define ALGO_GNOMON___GNOMON_ENGINE__HPP
3 
4 /* $Id: gnomon_engine.hpp 100690 2023-08-30 14:46:42Z souvorov $
5  * ===========================================================================
6  *
7  * PUBLIC DOMAIN NOTICE
8  * National Center for Biotechnology Information
9  *
10  * This software/database is a "United States Government Work" under the
11  * terms of the United States Copyright Act. It was written as part of
12  * the author's official duties as a United States Government employee and
13  * thus cannot be copyrighted. This software/database is freely available
14  * to the public for use. The National Library of Medicine and the U.S.
15  * Government have not placed any restriction on its use or reproduction.
16  *
17  * Although all reasonable efforts have been taken to ensure the accuracy
18  * and reliability of the software and data, the NLM and the U.S.
19  * Government do not and cannot warrant the performance or results that
20  * may be obtained by using this software or data. The NLM and the U.S.
21  * Government disclaim all warranties, express or implied, including
22  * warranties of performance, merchantability or fitness for any particular
23  * purpose.
24  *
25  * Please cite the author in any work or product based on this material.
26  *
27  * ===========================================================================
28  *
29  * Authors: Alexandre Souvorov
30  *
31  * File Description:
32  *
33  */
34 
35 #include <corelib/ncbistd.hpp>
36 #include "gnomon_seq.hpp"
37 #include "hmm.hpp"
38 
39 class CTerminal;
40 class CCodingRegion;
41 class CNonCodingRegion;
42 class CSeqScores;
43 class CParse;
44 
46 BEGIN_SCOPE(gnomon)
47 
52 
57 
59 
60  template<class C>
61  void GetHMMParameter(const C*& param)
62  {
63  param = dynamic_cast<const C*>( & m_hmm_params->GetParameter(C::class_id(),m_gccontent));
64  }
65 
69  const CWAM_Stop* m_stop;
77 
78  unique_ptr<CSeqScores> m_ss;
79  unique_ptr<CParse> m_parse;
80 };
81 
82 END_SCOPE(gnomon)
84 
85 #endif // ALGO_GNOMON___GNOMON_ENGINE__HPP
const CInputModel & GetParameter(const string &type, int cgcontent) const
Definition: hmm.cpp:758
Definition: parse.hpp:44
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define C(s)
Definition: common.h:231
vector< TResidue > CResidueVec
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define END_SCOPE(ns)
End the previously defined scope.
Definition: ncbistl.hpp:75
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define BEGIN_SCOPE(ns)
Define a new scope.
Definition: ncbistl.hpp:72
range(_Ty, _Ty) -> range< _Ty >
const SPhyloCSFSlice * m_pcsf_slice
const CMC_NonCodingRegion< 5 > * m_ncdr
const CWAM_Acceptor< 2 > * m_acceptor
CConstRef< CHMMParameters > m_hmm_params
const CIntergenicParameters * m_intergenic_params
void GetHMMParameter(const C *&param)
const CExonParameters * m_exon_params
const CMC3_CodingRegion< 5 > * m_cdr
const CIntronParameters * m_intron_params
const CMC_NonCodingRegion< 5 > * m_intrg
Modified on Sun Jun 02 05:17:36 2024 by modify_doxy.py rev. 669887