kmersignals.h 474 Bytes
Newer Older
Mikaël Salson's avatar
Mikaël Salson committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#ifndef KMERSIGNALS_H
#define KMERSIGNALS_H

#include <vector>
#include "fasta.h"
#include "kmerstore.h"

using namespace std;

class IKmerSignals
{
public:
	virtual int size() const;
	virtual int size(int r) const;
	virtual int operator()(int r, int i)=0;
};

class KmerSignals
{
	vector<vector<int> > sig;
public:
	KmerSignals(const int k, const Fasta& input, IKmerStore<Kmer>& store);

	int size() const;
	int size(int r) const;
	int operator()(int r, int i);
};

#endif