Commit 1f21fa21 authored by Cyprien Borée's avatar Cyprien Borée

Add filtered_sequences_calls and filtered_sequences_nb in Filter

Both of them are attributes stored in the Filter class.
filtered_sequences_calls is the number of times filterBioReaderWithACAutomaton is called
and filtered_sequences_calls is the number of sequences returned by this method.

For more informations see #3259.
parent 7cf92edc
......@@ -4,12 +4,21 @@
#include "automaton.hpp"
class FilterWithACAutomaton {
private:
vector<int>* indexes;
AbstractACAutomaton<KmerAffect>* automaton;
public:
/* The number of times filterBioReaderWithACAutomaton is called. */
int filtered_sequences_calls;
/* The size of the BioReader returned after filtering.*/
int filtered_sequences_nb;
FilterWithACAutomaton(BioReader &origin, string seed);
~FilterWithACAutomaton();
/*
......
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