SNAP Library 2.0, User Reference  2013-05-13 16:33:57
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.

                                                   {
    int HashCd=0;
    for (int ValN=0; ValN<Vec.Len(); ValN++){
      HashCd+=Vec[ValN].GetPrimHashCd();}
    return abs(HashCd);
  }
template<class TVec >
static int TVecHashF_OldGLib< TVec >::GetSecHashCd ( const TVec Vec) [inline, static]

Definition at line 1174 of file hash.h.

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

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