SNAP Library 3.0, User Reference  2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGtr< T > Class Template Reference

#include <bd.h>

Public Member Functions

bool operator() (const T &x, const T &y) const
 
int Cmp (const T &d1, const T &d2) const
 

Detailed Description

template<class T>
class TGtr< T >

Definition at line 385 of file bd.h.

Member Function Documentation

template<class T >
int TGtr< T >::Cmp ( const T &  d1,
const T &  d2 
) const
inline

Definition at line 388 of file bd.h.

388  { //** vprasaj Janeza za uporabo
389  if (d1<d2){return 1;}
390  else if (d2<d1){return -1;}
391  else {return 0;}
392  }
template<class T >
bool TGtr< T >::operator() ( const T &  x,
const T &  y 
) const
inline

Definition at line 387 of file bd.h.

387 { return x>y; }

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