SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Computes a hash code from a pair of hash codes. More...
#include <bd.h>
Static Public Member Functions | |
static int | GetHashCd (const int hc1, const int hc2) |
Computes a hash code from a pair of hash codes.
Both TPairHashImpl1
and TPairHashImpl2
implement the same function: ((a + b) * (a + b + 1) / 2) + a
.
|
inlinestatic |
Definition at line 590 of file bd.h.
Referenced by TPair< TFlt, TFlt >::GetPrimHashCd(), TTriple< TInt, TVec, TVal >::GetPrimHashCd(), TQuad< TVal1, TVal2, TVal3, TVal4 >::GetPrimHashCd(), TTuple< TVal, NVals >::GetPrimHashCd(), GroupStmt::GetPrimHashCd(), TVec< TVal, TSizeTy >::GetPrimHashCd(), TPair< TFlt, TFlt >::GetSecHashCd(), TTriple< TInt, TVec, TVal >::GetSecHashCd(), TQuad< TVal1, TVal2, TVal3, TVal4 >::GetSecHashCd(), TTuple< TVal, NVals >::GetSecHashCd(), GroupStmt::GetSecHashCd(), and TVec< TVal, TSizeTy >::GetSecHashCd().