SNAP Library 2.2, Developer Reference  2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TVecHashF_OldGLib< TVec > Class Template Reference

#include <hash.h>

List of all members.

Static Public Member Functions

static int GetPrimHashCd (const TVec &Vec)
static int GetSecHashCd (const TVec &Vec)

Detailed Description

template<class TVec>
class TVecHashF_OldGLib< TVec >

Definition at line 1166 of file hash.h.


Member Function Documentation

template<class TVec >
static int TVecHashF_OldGLib< TVec >::GetPrimHashCd ( const TVec Vec) [inline, static]

Definition at line 1168 of file hash.h.

References TVec< TVal, TSizeTy >::GetPrimHashCd(), and TVec< TVal, TSizeTy >::Len().

                                                   {
    int HashCd=0;
    for (int ValN=0; ValN<Vec.Len(); ValN++){
      HashCd+=Vec[ValN].GetPrimHashCd();}
    return abs(HashCd);
  }

Here is the call graph for this function:

template<class TVec >
static int TVecHashF_OldGLib< TVec >::GetSecHashCd ( const TVec Vec) [inline, static]

Definition at line 1174 of file hash.h.

References TVec< TVal, TSizeTy >::GetSecHashCd(), and TVec< TVal, TSizeTy >::Len().

                                                  {
    int HashCd=0;
    for (int ValN=0; ValN<Vec.Len(); ValN++){
      HashCd+=Vec[ValN].GetSecHashCd();}
    return abs(HashCd);
  }

Here is the call graph for this function:


The documentation for this class was generated from the following file: