friend bool operator==(const ConservedPath& a, const ConservedPath &b);
friend bool operator!=(const ConservedPath& a, const ConservedPath &b);
+ friend bool operator<(const ConservedPath& a, const ConservedPath &b);
friend std::ostream& operator<<(std::ostream&, const ConservedPath&);
//! return true if all elements of the path are "next to" our current path.
//! indicate which elements of the path are reversed
std::vector<bool> reverseComplimented() const;
//! return the list of indexes normalized (to the left)
- std::vector<path_element> normalizedIndexes() const;
+ path_type normalizedIndexes() const;
//! extend our current path
//! (aka increment our window size by growth)
ConservedPath& extend(int growth=1);
//! either number of conserved bases or average entropy
double score;
//! offsets into each of our sequences representing the start of our window
- std::vector<path_element> track_indexes;
+ path_type track_indexes;
};
#endif