SNAP Library 4.1, User Reference  2018-07-26 16:30:42
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

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

Definition at line 387 of file bd.h.

387 { return x>y; }

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