Open-source cheminformatics and machine learning.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DistGeomUtils.h File Reference
#include "BoundsMatrix.h"
#include <Numerics/SymmMatrix.h>
#include <map>
#include <Geometry/point.h>
#include "ChiralSet.h"
#include <RDGeneral/utils.h>

Go to the source code of this file.




double DistGeom::pickRandomDistMat (const BoundsMatrix &mmat, RDNumeric::SymmMatrix< double > &distmat, int seed=-1)
double DistGeom::pickRandomDistMat (const BoundsMatrix &mmat, RDNumeric::SymmMatrix< double > &distmat, RDKit::double_source_type &rng)
bool DistGeom::computeInitialCoords (const RDNumeric::SymmMatrix< double > &distmat, RDGeom::PointPtrVect &positions, bool randNegEig=false, unsigned int numZeroFail=2, int seed=-1)
 Compute an initial embedded in 3D based on a distance matrix. More...
bool DistGeom::computeInitialCoords (const RDNumeric::SymmMatrix< double > &distmat, RDGeom::PointPtrVect &positions, RDKit::double_source_type &rng, bool randNegEig=false, unsigned int numZeroFail=2)
bool DistGeom::computeRandomCoords (RDGeom::PointPtrVect &positions, double boxSize, int seed=-1)
 places atoms randomly in a box More...
bool DistGeom::computeRandomCoords (RDGeom::PointPtrVect &positions, double boxSize, RDKit::double_source_type &rng)
ForceFields::ForceFieldDistGeom::constructForceField (const BoundsMatrix &mmat, RDGeom::PointPtrVect &positions, const VECT_CHIRALSET &csets, double weightChiral=1.0, double weightFourthDim=0.1, std::map< std::pair< int, int >, double > *extraWeights=0, double basinSizeTol=5.0)
 Setup the error function for violation of distance bounds as a forcefield. More...