Revision 3e17855d6a9288302842fee9bf152e258f348d4f authored by Santosh Gunturu on 05 August 2016, 19:16:55 UTC, committed by Santosh Gunturu on 05 August 2016, 19:16:55 UTC
1 parent 0117143
Hash.h
#ifndef HASH_H
#define HASH_H
#include <string>
using namespace std;
size_t getHashCode(string s, unsigned long long int &hashcode);
class Hash {
public:
Hash(int k);
void intialize(string seq);
size_t nextHash(unsigned long long int &hashcode);
private:
int k;
string seq;
int len;
int pos;
int size;
unsigned long long int kmask;
};
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...