SNAP Library, Developer Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TCmp< T > Class Template Reference

#include <bd.h>

List of all members.

Public Member Functions

int operator() (const T &x, const T &y) const

Detailed Description

template<class T>
class TCmp< T >

Definition at line 399 of file bd.h.


Member Function Documentation

template<class T >
int TCmp< T >::operator() ( const T &  x,
const T &  y 
) const [inline]

Definition at line 401 of file bd.h.

                                               {
    if (x < y){return -1;}
    else if (x > y){return 1;}
    else {return 0;}
  }

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