Commit aab138db authored by Mikaël Salson's avatar Mikaël Salson

kmersignals: unused files for years, removed

parent 7245e90e
#include "kmersignals.h"
KmerSignals::KmerSignals(int k, const Fasta& input, IKmerStore<Kmer>& store){
for(int r = 0 ; r < input.size() ; r++){
vector<Kmer> l = store.getResults(input.sequence(r));
vector<int> s(l.size());
for(size_t i = 0 ; i < l.size() ; i++)
s[i] = l[i].count;
}
}
int KmerSignals::size() const{ return (int)sig.size(); }
int KmerSignals::size(int r) const{ return (int)sig[r].size(); }
int KmerSignals::operator()(int r, int i){
return sig[r][i];
}
#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
......@@ -3,7 +3,6 @@
#include "fasta.h"
#include "kmerstore.h"
#include "kmersignals.h"
template<class T>
class IOutput
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment