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
TLss< 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 TLss< T >

Definition at line 368 of file bd.h.

Member Function Documentation

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

Definition at line 371 of file bd.h.

371  {
372  if (d1<d2){return -1;}
373  else if (d2<d1){return 1;}
374  else {return 0;}
375  }
template<class T >
bool TLss< T >::operator() ( const T &  x,
const T &  y 
) const

Definition at line 370 of file bd.h.

370 {return x<y;}

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