Victor
 All Data Structures Functions Variables Friends Pages
Zhou.h
1 /* This file is part of Victor.
2 
3  Victor is free software: you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation, either version 3 of the License, or
6  (at your option) any later version.
7 
8  Victor is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with Victor. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 
18 #ifndef __Zhou_H__
19 #define __Zhou_H__
20 
21 #include <Profile.h>
22 #include <PssmInput.h>
23 #include <ScoringFunction.h>
24 
25 namespace Victor { namespace Align2{
26 
40  class Zhou : public ScoringFunction {
41  public:
42 
43  // CONSTRUCTORS:
44 
46  Zhou(Profile *pro1, PssmInput *pssm2);
47 
49  Zhou(const Zhou &orig);
50 
52  virtual ~Zhou();
53 
54 
55  // OPERATORS:
56 
58  Zhou& operator =(const Zhou &orig);
59 
60 
61  // PREDICATES:
62 
64  virtual double scoringSeq(int i, int j);
65 
66 
67  // MODIFIERS:
68 
70  virtual void copy(const Zhou &orig);
71 
73  virtual Zhou* newCopy();
74 
75 
76  protected:
77 
78 
79  private:
80 
81  // ATTRIBUTES:
82 
83  Profile *pro1;
84  PssmInput *pssm2;
85 
86  };
87 
88 }} // namespace
89 
90 #endif
Zhou & operator=(const Zhou &orig)
Assignment operator.
Definition: Zhou.cc:57
Calculate a frequency profile or PSSM.
Definition: Profile.h:35
virtual double scoringSeq(int i, int j)
Calculate scores to create matrix values.
Definition: Zhou.cc:73
virtual Zhou * newCopy()
Construct a new "deep copy" of this object.
Definition: Zhou.cc:107
Implement I/O objects for handling BLAST PSSM (Position Specific Score Matrix).
Definition: PssmInput.h:33
virtual void copy(const Zhou &orig)
Copy orig object to this object ("deep copy").
Definition: Zhou.cc:97
Zhou(Profile *pro1, PssmInput *pssm2)
Default constructor.
Definition: Zhou.cc:42
virtual ~Zhou()
Destructor.
Definition: Zhou.cc:50
Base class for scoring functions.
Definition: ScoringFunction.h:31
Calculate scores for profile to profile alignment using Zhou-Zhou method.
Definition: Zhou.h:40