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
|
#ifndef _BLASR_BASE_TUPLE_HPP_
#define _BLASR_BASE_TUPLE_HPP_
#include <alignment/tuples/TupleMetrics.hpp>
class BaseTuple
{
public:
TupleData tuple;
TupleData HashPowerOfFour(int nBits, TupleMetrics &tm);
bool operator<(const BaseTuple &rhs) const;
bool operator==(const BaseTuple &rhs) const;
bool operator!=(const BaseTuple &rhs) const;
BaseTuple &ShiftLeft(TupleMetrics &tm, int shift = 1);
BaseTuple &ShiftRight(int shift = 1);
BaseTuple &Append(TupleData val, TupleMetrics &tm, int nBits);
operator TupleData() const;
};
#endif
|