SNAP Library 4.0, User Reference  2017-07-27 13:18:06
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
TCmp< T > Class Template Reference

#include <bd.h>

Public Member Functions

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

Detailed Description

template<class T>
class TCmp< T >

Definition at line 402 of file bd.h.

Member Function Documentation

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

Definition at line 404 of file bd.h.

404  {
405  if (x < y){return -1;}
406  else if (x > y){return 1;}
407  else {return 0;}
408  }

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