SNAP Library 2.1, Developer Reference  2013-09-25 10:47:25
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
TGtr< T > Class Template Reference

#include <bd.h>

List of all members.

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.

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

Definition at line 387 of file bd.h.

{ return x>y; }

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