[ ligand_pharma | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
public: | |
RefMARepresentor(); | |
RefMARepresentor(const MultipleResult& multipleResult) ; | |
class | FeatureTriplet ; |
class | VoteTable ; |
unsigned int | commonFeatures(const MultipleResult& multipleResult, RigidTrans3& trans, float& rmsd) const; |
unsigned int | numOfFeatures() const ; |
unsigned int | numOfMolecules() const ; |
friend ostream& | operator<<(ostream& s, const RefMARepresentor& refMA) |
protected: | |
void | init(); |
unsigned int | actualMatchSize(const RigidTrans3& trans, vector< const Feature *>& features, float featureMatchThr); |
unsigned int | buildTriplets(const vector< const Feature *>& features, vector< FeatureTriplet>& triplets, bool ordered) const; |
float | calculateRmsd(const RigidTrans3& trans, vector< const Feature *>& features); |
const MultipleResult& | multipleResult_; |
vector< const Feature *> | features_; |
vector< FeatureTriplet> | featureTriplets_; |
GeomHash< HashKey, HashData> | geomHash_; |
GeomHash< FeatureTriplet, unsigned int> | tripletHash_; |
static BipartiteMatcher * | bipartiteMatcher_; |
GeomHash< Vector3, unsigned int> | featuresHash_; |
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
RefMARepresentor();
Back to the top of RefMARepresentor
RefMARepresentor(const MultipleResult& multipleResult) ;
RefMARepresentor(const MultipleResult& multipleResult) ;
Function is currently defined inline.
Back to the top of RefMARepresentor
class FeatureTriplet { public: FeatureTriplet(const Feature* feature1, const Feature* feature2, const Feature* feature3, unsigned int id) : feature1_(feature1), feature2_(feature2), feature3_(feature3), id_(id) { RigidTrans3 trans(feature1_->getCenter(), feature2_->getCenter(), feature3_->getCenter()); trans_ = !trans; featuresCode_ = encodeFeatureTypes(); triangleSideLengths_ = triangleSideLengths(); transformedFeatureCenters_[0] = trans_*feature1_->getCenter(); transformedFeatureCenters_[1] = trans_*feature2_->getCenter(); transformedFeatureCenters_[2] = trans_*feature3_->getCenter(); }
Back to the top of RefMARepresentor
class VoteTable : public hash_map< int, hash_map< int, unsigned int> > { // key1 = base1, key2=base2, data=num of votes public: void incVote(const int base1, const int base2, int acc) { hash_map<int, hash_map<int, unsigned int> >::iterator iter1 = find(base1); if(iter1 != end()) { hash_map<int, unsigned int>& hashMap = iter1->second; hash_map<int, unsigned int>::iterator iter2 = hashMap.find(base2); if(iter2 != hashMap.end()) { // pair already exists, increment vote only iter2->second += acc; } else { // only first base exists, add second hashMap[base2] = acc; } } else { // the given pair is a new one (*this)[base1][base2] = acc; } }
Back to the top of RefMARepresentor
Returns number of common features, alignment transformation and rmsd on features for an input MA
unsigned int commonFeatures(const MultipleResult& multipleResult, RigidTrans3& trans, float& rmsd) const;
Back to the top of RefMARepresentor
unsigned int numOfFeatures() const ;
unsigned int numOfFeatures() const ;
Function is currently defined inline.
Back to the top of RefMARepresentor
unsigned int numOfMolecules() const ;
unsigned int numOfMolecules() const ;
Function is currently defined inline.
Back to the top of RefMARepresentor
friend ostream& operator<<(ostream& s, const RefMARepresentor& refMA)
friend ostream& operator<<(ostream& s, const RefMARepresentor& refMA)
Back to the top of RefMARepresentor
void init();
Back to the top of RefMARepresentor
unsigned int actualMatchSize(const RigidTrans3& trans, vector< const Feature *>& features, float featureMatchThr);
Back to the top of RefMARepresentor
unsigned int buildTriplets(const vector< const Feature *>& features, vector< FeatureTriplet>& triplets, bool ordered) const;
Back to the top of RefMARepresentor
float calculateRmsd(const RigidTrans3& trans, vector< const Feature *>& features);
float calculateRmsd(const RigidTrans3& trans, vector< const Feature *>& features);
Back to the top of RefMARepresentor
const MultipleResult& multipleResult_;
const MultipleResult& multipleResult_;
Back to the top of RefMARepresentor
vector< const Feature *> features_;
vector< const Feature *> features_;
Back to the top of RefMARepresentor
vector< FeatureTriplet> featureTriplets_;
vector< FeatureTriplet> featureTriplets_;
Back to the top of RefMARepresentor
GeomHash< HashKey, HashData> geomHash_;
GeomHash< HashKey, HashData> geomHash_;
Back to the top of RefMARepresentor
GeomHash< FeatureTriplet, unsigned int> tripletHash_;
GeomHash< FeatureTriplet, unsigned int> tripletHash_;
Back to the top of RefMARepresentor
BipartiteMatcher *bipartiteMatcher_;
static BipartiteMatcher *bipartiteMatcher_;
Back to the top of RefMARepresentor
GeomHash< Vector3, unsigned int> featuresHash_;
GeomHash< Vector3, unsigned int> featuresHash_; // key=feature center, data=feature index in features_ array
Back to the top of RefMARepresentor
public: | ||
---|---|---|
class | FeatureTriplet ; | |
class | VoteTable ; | |
unsigned int | commonFeatures(const MultipleResult& multipleResult, RigidTrans3& trans, float& rmsd) const; | |
unsigned int | numOfFeatures() const ; | |
unsigned int | numOfMolecules() const ; | |
friend ostream& | operator<<(ostream& s, const RefMARepresentor& refMA) | |
protected: | ||
void | init(); | |
unsigned int | actualMatchSize(const RigidTrans3& trans, vector< const Feature *>& features, float featureMatchThr); | |
unsigned int | buildTriplets(const vector< const Feature *>& features, vector< FeatureTriplet>& triplets, bool ordered) const; | |
float | calculateRmsd(const RigidTrans3& trans, vector< const Feature *>& features); | |
const MultipleResult& | multipleResult_; | |
vector< const Feature *> | features_; | |
vector< FeatureTriplet> | featureTriplets_; | |
GeomHash< HashKey, HashData> | geomHash_; | |
GeomHash< FeatureTriplet, unsigned int> | tripletHash_; | |
static BipartiteMatcher * | bipartiteMatcher_; | |
GeomHash< Vector3, unsigned int> | featuresHash_; |
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
Back to the top of RefMARepresentor
Report problems to jkotula@unimax.com