32 UintSeqHash() {h = 0; }
33 UintSeqHash(
const UintSeqHash &other) {h = other.h; }
34 UintSeqHash& operator=(
const UintSeqHash &other) {h = other.h;
return *
this; }
40 void update(
unsigned int n);
48 int cmp(
const UintSeqHash &other)
const {
49 return (h < other.h)?-1:((h == other.h)?0:1);
52 bool is_lt(
const UintSeqHash &other)
const {
return cmp(other) < 0; }
54 bool is_le(
const UintSeqHash &other)
const {
return cmp(other) <= 0; }
56 bool is_equal(
const UintSeqHash &other)
const {
return cmp(other) == 0; }
unsigned int get_value() const
Definition uintseqhash.hh:43
int cmp(const UintSeqHash &other) const
Definition uintseqhash.hh:48
bool is_equal(const UintSeqHash &other) const
Definition uintseqhash.hh:56
void update(unsigned int n)
Definition uintseqhash.cc:96
void reset()
Definition uintseqhash.hh:37
bool is_le(const UintSeqHash &other) const
Definition uintseqhash.hh:54
bool is_lt(const UintSeqHash &other) const
Definition uintseqhash.hh:52
Definition abstractgraph.cc:35