Chemical Data Processing Library Python API - Version 1.1.1
|
Contains general purpose algorithms, containers, functors and other classes. More...
Classes | |
class | BitSet |
A dynamic bitset class. More... | |
class | BitSetArray |
An array of Util.BitSet objects. More... | |
class | BronKerboschAlgorithm |
Implementation of the Bron-Kerbosch clique-detection algorithm [BKA]. More... | |
class | BZip2IOStream |
class | BZip2IStream |
class | BZip2OStream |
class | DArray |
An array of double precision floating-point numbers. More... | |
class | DG2DCoordinatesGenerator |
class | DG3DCoordinatesGenerator |
class | GZipIOStream |
class | GZipIStream |
class | GZipOStream |
class | LArray |
An array of unsigned integers of type long . More... | |
class | PropertyValue |
An unary functor that retrieves the value of a given property from the Base.PropertyContainer instance provided as argument. More... | |
class | PropertyValueProduct |
A binary functor that calculates the product of two property values retrieved from a pair of Base.PropertyContainer instances passed as argument. More... | |
class | SArray |
An array of std::string objects. More... | |
class | STArray |
An array of unsigned integers of type std::size_t . More... | |
class | STPair |
A pair of unsigned integers of type std::size_t . More... | |
class | STPairArray |
An array of pairs of unsigned integers of type std::size_t . More... | |
class | UIArray |
An array of unsigned integers. More... | |
Functions | |
None | fold (BitSet bs, int num_times) |
Folds the bitset bs the specified number of times. More... | |
None | forEach (object seq, object func) |
None | forEachPair (object seq1, object seq2, object func) |
bool | checkIfSameFile (str path1, str path2) |
str | genCheckedTempFilePath (str dir='', str ptn='%%%%-%%%%-%%%%-%%%%') |
bool | fileExists (str path) |
Contains general purpose algorithms, containers, functors and other classes.
None CDPL.Util.fold | ( | BitSet | bs, |
int | num_times | ||
) |
Folds the bitset bs the specified number of times.
Folding a bitset means that the lower and upper half of the bitset are combined by a logical OR operation to produce a new bitset which is half of the original size. This process is repeated the specified number of times. See also [DTPFP].
bs | The bitset to fold. |
num_times | The number of times the bitset has to be folded. |
None CDPL.Util.forEach | ( | object | seq, |
object | func | ||
) |
seq | |
func |
None CDPL.Util.forEachPair | ( | object | seq1, |
object | seq2, | ||
object | func | ||
) |
seq1 | |
seq2 | |
func |
bool CDPL.Util.checkIfSameFile | ( | str | path1, |
str | path2 | ||
) |
path1 | |
path2 |
str CDPL.Util.genCheckedTempFilePath | ( | str | dir = '' , |
str | ptn = '%%%%-%%%%-%%%%-%%%%' |
||
) |
dir | |
ptn |
bool CDPL.Util.fileExists | ( | str | path | ) |
path |