29 #ifndef CDPL_DESCR_BURIEDNESSSCORE_HPP
30 #define CDPL_DESCR_BURIEDNESSSCORE_HPP
62 static constexpr
double DEF_PROBE_RADIUS = 20.0;
63 static constexpr
double DEF_MAX_ATOM_TO_SPHERE_SURF_DIST = 2.0;
64 static constexpr std::size_t DEF_NUM_TEST_VECTORS = 492;
69 std::size_t num_test_vecs = DEF_NUM_TEST_VECTORS,
70 double max_atom_to_sphr_surf_dist = DEF_MAX_ATOM_TO_SPHERE_SURF_DIST);
106 void genTestVectors();
108 typedef std::vector<Math::Vector3D> PointList;
111 std::size_t numTestVectors;
112 double maxAtomToSphereSurfDist;
115 PointList testVectors;
Type declaration of a generic wrapper class for storing user-defined Chem::Atom 3D-coordinates functi...
Definition of the preprocessor macro CDPL_DESCR_API.
#define CDPL_DESCR_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of vector data types.
A common interface for data-structures that support a random access to stored Chem::Atom instances.
Definition: AtomContainer.hpp:55
Atom.
Definition: Atom.hpp:52
Implements the algorithm devised by Kuvek et al. [KBPD] for the calculation of receptor binding pocke...
Definition: KuvekPocketDescriptorCalculator.hpp:59
void setNumTestVectors(std::size_t num_vectors)
const Math::Vector3D & getTestVector(std::size_t idx)
double getSphereRadius() const
void setAtomChargeFunction(const AtomChargeFunction &func)
Specifies a function for the retrieval of atom charges.
const AtomChargeFunction & getAtomChargeFunction() const
void calculate(const Math::Vector3D &sphere_ctr, const Chem::AtomContainer &atoms, Math::DVector &descr)
double getMaxAtomToSphereSurfaceDistance() const
KuvekPocketDescriptorCalculator(double sphere_radius=DEF_PROBE_RADIUS, std::size_t num_test_vecs=DEF_NUM_TEST_VECTORS, double max_atom_to_sphr_surf_dist=DEF_MAX_ATOM_TO_SPHERE_SURF_DIST)
void setMaxAtomToSphereSurfaceDistance(double dist)
std::function< double(const Chem::Atom &)> AtomChargeFunction
Definition: KuvekPocketDescriptorCalculator.hpp:66
void setAtom3DCoordinatesFunction(const Chem::Atom3DCoordinatesFunction &func)
Specifies a function for the retrieval of atom 3D-coordinates.
void setSphereRadius(double radius)
std::size_t getNumTestVectors() const
const Chem::Atom3DCoordinatesFunction & getAtom3DCoordinatesFunction() const
std::function< const Math::Vector3D &(const Chem::Atom &)> Atom3DCoordinatesFunction
A generic wrapper class used to store a user-defined Chem::Atom 3D-coordinates function.
Definition: Atom3DCoordinatesFunction.hpp:43
CVector< double, 3 > Vector3D
A bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:1637
The namespace of the Chemical Data Processing Library.