NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CFastIScore Class Reference

Search Toolkit Book for CFastIScore

#include "nucprot.hpp"
(Private to src/algo/align/prosplign.)

+ Collaboration diagram for CFastIScore:

Public Member Functions

void SetAmin (char amin, const CSubstMatrix &matrix)
void Init (const CNSeq &seq, const CSubstMatrix &matrix)
int GetScore ()
int GetScore (int n1, int n2, int n3) const
 CFastIScore ()

Private Member Functions

void Init (const CSubstMatrix &matrix)
 CFastIScore (const CFastIScore &)
CFastIScoreoperator= (const CFastIScore &)

Private Attributes

vector< intm_scores
int m_size
vector< intm_gscores
bool m_init

Detailed Description

Definition at line 143 of file nucprot.hpp.

Constructor & Destructor Documentation

◆ CFastIScore() [1/2]

CFastIScore::CFastIScore ( )

Definition at line 150 of file nucprot.hpp.

References m_scores.

◆ CFastIScore() [2/2]

CFastIScore::CFastIScore ( const CFastIScore )

Member Function Documentation

◆ GetScore() [1/2]

int CFastIScore::GetScore ( void  )

Definition at line 148 of file nucprot.hpp.

References m_pos.

Referenced by AlignFNog(), FindFGapIntronNog(), FrAlignFNog1(), Init(), and CFIntron::InitW12s().

◆ GetScore() [2/2]

int CFastIScore::GetScore ( int  n1,
int  n2,
int  n3 
) const

Definition at line 149 of file nucprot.hpp.

References m_gpos.

◆ Init() [1/2]

void CFastIScore::Init ( const CNSeq seq,
const CSubstMatrix matrix 

◆ Init() [2/2]

void CFastIScore::Init ( const CSubstMatrix matrix)

Definition at line 150 of file nucprot.cpp.

References arr, i, CSubstMatrix::m_alphabet, m_gscores, m_init, CSubstMatrix::MultScore(), nA, nC, nG, nN, and nT.

◆ operator=()

CFastIScore& CFastIScore::operator= ( const CFastIScore )

◆ SetAmin()

void CFastIScore::SetAmin ( char  amin,
const CSubstMatrix matrix 

Member Data Documentation

◆ m_gpos

int* CFastIScore::m_gpos

Definition at line 156 of file nucprot.hpp.

Referenced by GetScore(), Init(), and SetAmin().

◆ m_gscores

vector<int> CFastIScore::m_gscores

Definition at line 157 of file nucprot.hpp.

Referenced by Init(), and SetAmin().

◆ m_init

bool CFastIScore::m_init

Definition at line 159 of file nucprot.hpp.

Referenced by Init().

◆ m_pos

int* CFastIScore::m_pos

Definition at line 153 of file nucprot.hpp.

Referenced by GetScore(), and SetAmin().

◆ m_scores

vector<int> CFastIScore::m_scores

Definition at line 152 of file nucprot.hpp.

Referenced by CFastIScore(), Init(), and SetAmin().

◆ m_size

int CFastIScore::m_size

Definition at line 154 of file nucprot.hpp.

Referenced by Init(), and SetAmin().

The documentation for this class was generated from the following files:
Modified on Sat May 25 14:17:14 2024 by rev. 669887