#include <kises.h>
Public Member Functions | |
KISES () | |
~KISES () | |
vector< KIS< GENOME_TYPE > > & | find_KISes (const vector< SEQ< GENOME_TYPE > > &a, const vector< SEQ< GENOME_TYPE > > &b, const char *resFile) |
Private Member Functions | |
int | binary_search (const match< SEQ< GENOME_TYPE > > *arr, const SEQ< GENOME_TYPE > &elm, int len) const |
int * | find (const vector< SEQ< GENOME_TYPE > > &a, const vector< SEQ< GENOME_TYPE > > &b) const |
Private Attributes | |
vector< KIS< GENOME_TYPE > > * | res |
|
Default constructor. |
|
Destructor. |
|
Binary search for elm in arr and returns the index of the suitable cell.
|
|
This method maps between vector "a" and vector "b" by returning an array of indexes where the i'th cell holds the index (j) of the cell in "b" which tells us that the i'th element of "a" is the j'th element of "b".
|
|
Extract the KISs out of the intersection result (we get it from CleanFile's method) to the file resFile.
|
|
A vector of KISs. |