Chemical Data Processing Library C++ API - Version 1.2.0
|
GRAILDataSetGenerator. More...
#include <GRAILDataSetGenerator.hpp>
Public Types | |
typedef std::shared_ptr< GRAILDataSetGenerator > | SharedPointer |
typedef FeatureInteractionScoreGridCalculator::ScoringFunction | ScoringFunction |
typedef FeatureInteractionScoreGridCalculator::ScoreCombinationFunction | ScoreCombinationFunction |
typedef std::function< void(CDPL::Pharm::Pharmacophore &)> | PharmacophoreProcessingFunction |
Public Member Functions | |
GRAILDataSetGenerator () | |
virtual | ~GRAILDataSetGenerator () |
void | enableInteraction (unsigned int ftr_type, unsigned int tgt_ftr_type, bool enable) |
bool | isInteractionEnabled (unsigned int ftr_type, unsigned int tgt_ftr_type) const |
void | clearEnabledInteractions () |
void | setScoringFunction (unsigned int ftr_type, unsigned int tgt_ftr_type, const ScoringFunction &func) |
const ScoringFunction & | getScoringFunction (unsigned int ftr_type, unsigned int tgt_ftr_type) const |
void | removeScoringFunction (unsigned int ftr_type, unsigned int tgt_ftr_type) |
void | setGridName (unsigned int ftr_type, unsigned int tgt_ftr_type, const std::string &name) |
const std::string & | getGridName (unsigned int ftr_type, unsigned int tgt_ftr_type) const |
void | removeGridName (unsigned int ftr_type, unsigned int tgt_ftr_type) |
void | setScoreCombinationFunction (const ScoreCombinationFunction &func) |
const ScoreCombinationFunction & | getScoreCombinationFunction () const |
void | normalizeScores (bool normalize) |
bool | scoresNormalized () const |
void | diminishScoresByAtomDensity (bool diminish) |
bool | scoresDiminishedByAtomDensity () const |
void | storeEnvironmentAtomDensityGrid (bool store) |
bool | environmentAtomDensityGridStored () const |
void | setEnvironmentAtomDensityGridName (const std::string &name) |
const std::string & | getEnvironmentAtomDensityGridName () const |
const Math::Matrix4D & | getGridTransform () const |
template<typename T > | |
void | setGridTransform (const T &xform) |
double | getGridStepSize () const |
void | setGridStepSize (double size) |
std::size_t | getGridXSize () const |
void | setGridXSize (std::size_t size) |
std::size_t | getGridYSize () const |
void | setGridYSize (std::size_t size) |
std::size_t | getGridZSize () const |
void | setGridZSize (std::size_t size) |
void | setGridParamsForBoundingBox (const Math::Vector3D &bbox_min, const Math::Vector3D &bbox_max, double step_size=DEF_GRID_STEP_SIZE) |
const Pharm::DefaultPharmacophoreGenerator & | getPharmacophoreGenerator () const |
Pharm::DefaultPharmacophoreGenerator & | getPharmacophoreGenerator () |
void | setPharmacophoreProcessingFunction (const PharmacophoreProcessingFunction &func) |
const PharmacophoreProcessingFunction & | getPharmacophoreProcessingFunction () const |
void | calcInteractionGrids (const Chem::MolecularGraph &tgt_env, const Chem::Atom3DCoordinatesFunction &coords_func, Grid::DRegularGridSet &grid_set, bool append=false) |
Grid::DRegularGrid::SharedPointer | calcAtomDensityGrid (const Chem::AtomContainer &atoms, const Chem::Atom3DCoordinatesFunction &coords_func, const std::string &grid_name) |
Static Public Attributes | |
static constexpr double | DEF_GRID_STEP_SIZE = 0.5 |
typedef std::shared_ptr<GRAILDataSetGenerator> CDPL::GRAIL::GRAILDataSetGenerator::SharedPointer |
typedef FeatureInteractionScoreGridCalculator::ScoringFunction CDPL::GRAIL::GRAILDataSetGenerator::ScoringFunction |
typedef FeatureInteractionScoreGridCalculator::ScoreCombinationFunction CDPL::GRAIL::GRAILDataSetGenerator::ScoreCombinationFunction |
typedef std::function<void(CDPL::Pharm::Pharmacophore&)> CDPL::GRAIL::GRAILDataSetGenerator::PharmacophoreProcessingFunction |
CDPL::GRAIL::GRAILDataSetGenerator::GRAILDataSetGenerator | ( | ) |
|
inlinevirtual |
void CDPL::GRAIL::GRAILDataSetGenerator::enableInteraction | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type, | ||
bool | enable | ||
) |
bool CDPL::GRAIL::GRAILDataSetGenerator::isInteractionEnabled | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type | ||
) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::clearEnabledInteractions | ( | ) |
void CDPL::GRAIL::GRAILDataSetGenerator::setScoringFunction | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type, | ||
const ScoringFunction & | func | ||
) |
const ScoringFunction& CDPL::GRAIL::GRAILDataSetGenerator::getScoringFunction | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type | ||
) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::removeScoringFunction | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type | ||
) |
void CDPL::GRAIL::GRAILDataSetGenerator::setGridName | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type, | ||
const std::string & | name | ||
) |
const std::string& CDPL::GRAIL::GRAILDataSetGenerator::getGridName | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type | ||
) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::removeGridName | ( | unsigned int | ftr_type, |
unsigned int | tgt_ftr_type | ||
) |
void CDPL::GRAIL::GRAILDataSetGenerator::setScoreCombinationFunction | ( | const ScoreCombinationFunction & | func | ) |
const ScoreCombinationFunction& CDPL::GRAIL::GRAILDataSetGenerator::getScoreCombinationFunction | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::normalizeScores | ( | bool | normalize | ) |
bool CDPL::GRAIL::GRAILDataSetGenerator::scoresNormalized | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::diminishScoresByAtomDensity | ( | bool | diminish | ) |
bool CDPL::GRAIL::GRAILDataSetGenerator::scoresDiminishedByAtomDensity | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::storeEnvironmentAtomDensityGrid | ( | bool | store | ) |
bool CDPL::GRAIL::GRAILDataSetGenerator::environmentAtomDensityGridStored | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::setEnvironmentAtomDensityGridName | ( | const std::string & | name | ) |
const std::string& CDPL::GRAIL::GRAILDataSetGenerator::getEnvironmentAtomDensityGridName | ( | ) | const |
const Math::Matrix4D& CDPL::GRAIL::GRAILDataSetGenerator::getGridTransform | ( | ) | const |
|
inline |
double CDPL::GRAIL::GRAILDataSetGenerator::getGridStepSize | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::setGridStepSize | ( | double | size | ) |
std::size_t CDPL::GRAIL::GRAILDataSetGenerator::getGridXSize | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::setGridXSize | ( | std::size_t | size | ) |
std::size_t CDPL::GRAIL::GRAILDataSetGenerator::getGridYSize | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::setGridYSize | ( | std::size_t | size | ) |
std::size_t CDPL::GRAIL::GRAILDataSetGenerator::getGridZSize | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::setGridZSize | ( | std::size_t | size | ) |
void CDPL::GRAIL::GRAILDataSetGenerator::setGridParamsForBoundingBox | ( | const Math::Vector3D & | bbox_min, |
const Math::Vector3D & | bbox_max, | ||
double | step_size = DEF_GRID_STEP_SIZE |
||
) |
const Pharm::DefaultPharmacophoreGenerator& CDPL::GRAIL::GRAILDataSetGenerator::getPharmacophoreGenerator | ( | ) | const |
Pharm::DefaultPharmacophoreGenerator& CDPL::GRAIL::GRAILDataSetGenerator::getPharmacophoreGenerator | ( | ) |
void CDPL::GRAIL::GRAILDataSetGenerator::setPharmacophoreProcessingFunction | ( | const PharmacophoreProcessingFunction & | func | ) |
const PharmacophoreProcessingFunction& CDPL::GRAIL::GRAILDataSetGenerator::getPharmacophoreProcessingFunction | ( | ) | const |
void CDPL::GRAIL::GRAILDataSetGenerator::calcInteractionGrids | ( | const Chem::MolecularGraph & | tgt_env, |
const Chem::Atom3DCoordinatesFunction & | coords_func, | ||
Grid::DRegularGridSet & | grid_set, | ||
bool | append = false |
||
) |
Grid::DRegularGrid::SharedPointer CDPL::GRAIL::GRAILDataSetGenerator::calcAtomDensityGrid | ( | const Chem::AtomContainer & | atoms, |
const Chem::Atom3DCoordinatesFunction & | coords_func, | ||
const std::string & | grid_name | ||
) |
|
staticconstexpr |