Commit 0cb66b53 authored by Cyprien Borée's avatar Cyprien Borée Committed by Mikaël Salson
Browse files

replace pair with two distinct object in filter.h

Since the pair is now contained in the FilterWithACAutomaton class, it is no
so consistent to encapsulate a pair instead of two objects.

For more informations see #3283.
parent b072026f
......@@ -5,7 +5,8 @@
class FilterWithACAutomaton {
private:
pair<vector<int>*, AbstractACAutomaton<KmerAffect>*>* p;
vector<int>* indexes;
AbstractACAutomaton<KmerAffect>* automaton;
public:
FilterWithACAutomaton(BioReader &origin, string seed);
......@@ -82,6 +83,14 @@ class FilterWithACAutomaton {
*/
void buildACAutomatonToFilterBioReader(BioReader &origin, string seed);
pair<vector<int>*, AbstractACAutomaton<KmerAffect>*>* getPair();
/**
* Return the vector of indexes used while building the automaton.
*/
vector<int>* getIndexes() const;
/**
* Return the automaton stored.
*/
AbstractACAutomaton<KmerAffect>* getAutomaton() const;
};
#endif
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