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) |
Fast and efficient bitstring class.
#define SETWORD 32 |
Referenced by OpenBabel::operator<<(), OBBitVec::SetRangeOff(), and OBBitVec::SetRangeOn().
#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 |