RDKit
Open-source cheminformatics and machine learning.
Rankers Namespace Reference

Utility functionality used to rank sequences. More...

Classes

class  argless
 
struct  pairGreater
 functor for implementing > on two std::pairs. The first entries are More...
 
struct  pairLess
 function for implementing < on two std::pairs. The first entries are More...
 

Functions

template<typename T1 , typename T2 >
void rankVect (const std::vector< T1 > &vect, T2 &res)
 ranks the entries in a vector More...
 

Detailed Description

Utility functionality used to rank sequences.

Much of this used to be in GraphMol/RankAtoms.h

Function Documentation

template<typename T1 , typename T2 >
void Rankers::rankVect ( const std::vector< T1 > &  vect,
T2 &  res 
)

ranks the entries in a vector

Parameters
vectthe vector to rank
resis used to return the ranks of each entry

Definition at line 65 of file Ranking.h.

References PRECONDITION.