RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
SparseIntVect.h File Reference
#include <RDGeneral/export.h>
#include <map>
#include <string>
#include <RDGeneral/Invariant.h>
#include <sstream>
#include <RDGeneral/Exceptions.h>
#include <RDGeneral/StreamOps.h>
#include <cstdint>
#include <limits>

Go to the source code of this file.

Classes

class  RDKit::SparseIntVect< IndexType >
 a class for efficiently storing sparse vectors of ints More...
 

Namespaces

namespace  RDKit
 Std stuff.
 

Functions

template<typename IndexType , typename SequenceType >
void RDKit::updateFromSequence (SparseIntVect< IndexType > &vect, const SequenceType &seq)
 
template<typename IndexType >
double RDKit::DiceSimilarity (const SparseIntVect< IndexType > &v1, const SparseIntVect< IndexType > &v2, bool returnDistance=false, double bounds=0.0)
 
template<typename IndexType >
double RDKit::TverskySimilarity (const SparseIntVect< IndexType > &v1, const SparseIntVect< IndexType > &v2, double a, double b, bool returnDistance=false, double bounds=0.0)
 
template<typename IndexType >
double RDKit::TanimotoSimilarity (const SparseIntVect< IndexType > &v1, const SparseIntVect< IndexType > &v2, bool returnDistance=false, double bounds=0.0)
 

Variables

const int ci_SPARSEINTVECT_VERSION
 version number to use in pickles
 

Variable Documentation

◆ ci_SPARSEINTVECT_VERSION

const int ci_SPARSEINTVECT_VERSION
Initial value:
=
0x0001

version number to use in pickles

Definition at line 23 of file SparseIntVect.h.

Referenced by RDKit::SparseIntVect< IndexType >::toString().