#include <match.h>
Public Member Functions | |
| hit () | |
| hit (string &q, string &t, istream &in) throw (end, inputException) | |
| void | getNext (istream &in) |
| bool | sameQuery (const string &nq) const |
| bool | sameTarget (const string &nt) const |
| bool | sameHit (const string &q, const string &t) const |
| bool | overlap (const match &m) const |
| bool | scoreAsBigAs (const hit &h, float r) const |
| int | getLength () const |
| int | getMatchCount () const |
| int | getTotalMatch () const |
| void | dumpRaw (ostream &o) const |
| float | getIdentity () const |
| float | getScore () const |
| hit () | |
| hit (string &q, string &t, istream &in) throw (end, inputException) | |
| void | getNext (istream &in) |
| bool | sameQuery (const string &nq) const |
| bool | sameTarget (const string &nt) const |
| bool | sameHit (const string &q, const string &t) const |
| bool | overlap (const match &m) const |
| bool | scoreAsBigAs (const hit &h, float r) const |
| int | getLength () const |
| int | getMatchCount () const |
| int | getTotalMatch () const |
| void | dumpRaw (ostream &o) const |
| float | getIdentity () const |
| float | getScore () const |
Static Public Attributes | |
| static char | fields [] = "query, target, average_identity, sum_match_length, sum_score, selratio, minE, prodE(products of all non-overlapping E)" |
Private Attributes | |
| string | query |
| string | target |
| vector< match > | matches |
| float | score |
| int | matchCnt |
| int | length |
| float | identity |
| double | minE |
| double | prodE |
Friends | |
| ostream & | operator<< (ostream &o, const hit &h) |
| ostream & | operator<< (ostream &o, const hit &h) |
Classes | |
| class | end |
| hit::hit | ( | ) | [inline] |
| hit::hit | ( | string & | q, | |
| string & | t, | |||
| istream & | in | |||
| ) | throw (end, inputException) |
References length.
| hit::hit | ( | ) | [inline] |
| hit::hit | ( | string & | q, | |
| string & | t, | |||
| istream & | in | |||
| ) | throw (end, inputException) |
| void hit::getNext | ( | istream & | in | ) |
| bool hit::sameTarget | ( | const string & | nt | ) | const [inline] |
References target.
| bool hit::sameHit | ( | const string & | q, | |
| const string & | t | |||
| ) | const |
| bool hit::scoreAsBigAs | ( | const hit & | h, | |
| float | r | |||
| ) | const [inline] |
| int hit::getLength | ( | ) | const [inline] |
| int hit::getMatchCount | ( | ) | const [inline] |
| int hit::getTotalMatch | ( | ) | const [inline] |
| void hit::dumpRaw | ( | ostream & | o | ) | const |
| float hit::getIdentity | ( | ) | const [inline] |
| float hit::getScore | ( | ) | const [inline] |
References score.
| void hit::getNext | ( | istream & | in | ) |
| bool hit::sameQuery | ( | const string & | nq | ) | const [inline] |
References query.
| bool hit::sameTarget | ( | const string & | nt | ) | const [inline] |
References target.
| bool hit::sameHit | ( | const string & | q, | |
| const string & | t | |||
| ) | const |
| bool hit::overlap | ( | const match & | m | ) | const |
| int hit::getLength | ( | ) | const [inline] |
References length.
| int hit::getMatchCount | ( | ) | const [inline] |
References matches.
| int hit::getTotalMatch | ( | ) | const [inline] |
References matchCnt.
| void hit::dumpRaw | ( | ostream & | o | ) | const |
| float hit::getIdentity | ( | ) | const [inline] |
References identity.
| float hit::getScore | ( | ) | const [inline] |
References score.
| ostream& operator<< | ( | ostream & | o, | |
| const hit & | h | |||
| ) | [friend] |
| ostream& operator<< | ( | ostream & | o, | |
| const hit & | h | |||
| ) | [friend] |
static char hit::fields = "query, target, average_identity, sum_match_length, sum_score, selratio, minE, prodE(products of all non-overlapping E)" [static] |
Referenced by main().
string hit::query [private] |
Referenced by dumpRaw(), operator<<(), and sameQuery().
string hit::target [private] |
Referenced by dumpRaw(), operator<<(), and sameTarget().
vector< match > hit::matches [private] |
Referenced by dumpRaw(), getMatchCount(), getNext(), and overlap().
float hit::score [private] |
Referenced by getScore(), operator<<(), and scoreAsBigAs().
int hit::matchCnt [private] |
Referenced by getTotalMatch().
int hit::length [private] |
Referenced by getLength(), and getNext().
float hit::identity [private] |
Referenced by getIdentity(), and getNext().
double hit::minE [private] |
Referenced by getNext(), and operator<<().
double hit::prodE [private] |
Referenced by getNext(), and operator<<().
1.5.6