![]() |
Fingerprints - Fingerprints class
use Fingerprints;
use Fingerprints qw(:all);
Fingerprints class provides the following methods:
new, FoldFingerprintsByBitDensity, FoldFingerprintsBySize , GetFingerprintBitsAsBinaryString, GetFingerprintBitsAsHexadecimalString , GetFingerprintBitsAsRawBinaryString, SetFingerprintsBitVector, SetMolecule , SetSize, SetType
Fingerprints class is used as a base class for various specific fingerprint classes such as PathLengthFingerprints. It implements functionality common to fingerprint classes.
Fingerprints class is derived from ObjectProperty base class which provides methods not explictly defined in Fingerprints or ObjectProperty class using Perl's AUTOLOD functionality. These methods are generated on-the-fly for a specified object property:
Fingerprints class uses FingerprintsBitVector class to provide bits manipulation functionality.
Using specified Fingerprints property names and values hash, new method creates a new object and returns a reference to newly created Fingerprints object. By default, following properties are initialized:
Folds fingerprints by recursively reducing its size by half until bit density is greater than or equal to specified BitDensity and returns Fingerprints
Fold fingerprints by recursively reducing its size by half until size is less than or equal to specified Size and returns Fingerprints. By default, value Size is checked to make sure it's:
Returns fingerprints as a binary ASCII string containing 0s and 1s
Returns fingerprints as a hexadecimal string
Returns fingerprints as a raw binary string containing packed bit values for each byte
Sets FingerprintsBitVector object for Fingerprints and returns Fingerprints
Sets Molecule object for Fingerprints and returns Fingerprints
Sets Size of fingerprints and returns Fingerprints
Sets Type of fingerprints and returns Fingerprints
BitVector.pm, FingerprintsBitVector.pm, PathLengthFingerprints.pm
Copyright (C) 2004-2008 Manish Sud. All rights reserved.
This file is part of MayaChemTools.
MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.