Classes | Namespaces | Defines | Functions

bitvec.h File Reference

Fast and efficient bitstring class. More...

#include <openbabel/babelconfig.h>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

class  OBBitVec
 A speed-optimized vector of bits. More...

Namespaces

namespace  OpenBabel

Defines

#define SETWORD   32
#define WORDROLL   5
#define WORDMASK   31
#define WORDSIZE_OF_BITSIZE(bit_size)   ( ( bit_size >> WORDROLL ) + (( bit_size & WORDMASK ) ? 1 : 0) )
#define STARTWORDS   10

Functions

double Tanimoto (const OBBitVec &bv1, const OBBitVec &bv2)

Detailed Description

Fast and efficient bitstring class.


Define Documentation

#define SETWORD   32
#define WORDROLL   5
#define WORDMASK   31
#define WORDSIZE_OF_BITSIZE (   bit_size )    ( ( bit_size >> WORDROLL ) + (( bit_size & WORDMASK ) ? 1 : 0) )

Referenced by OBBitVec::Resize().

#define STARTWORDS   10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines