IMP  2.1.1
The Integrative Modeling Platform
ensemble_analysis.h
Go to the documentation of this file.
1 /**
2  * \file multifit/ensemble_analysis.h
3  *
4  * Copyright 2007-2013 IMP Inventors. All rights reserved.
5  */
6 
7 #ifndef IMPMULTIFIT_ENSEMBLE_ANALYSIS_H
8 #define IMPMULTIFIT_ENSEMBLE_ANALYSIS_H
9 
10 #include <IMP/multifit/multifit_config.h>
14 #include <IMP/atom/distance.h>
16 #include <IMP/base_types.h>
18 
19 IMPMULTIFIT_BEGIN_NAMESPACE
20 
21 //! An ensemble of fitting solutions
22 class IMPMULTIFITEXPORT Ensemble : public base::Object {
23 public:
24  void load_combination(Ints fit_comb);
25  void unload_combination(Ints fit_comb);
26  void add_component_and_fits(
27  atom::Hierarchy mh,
29  atom::Hierarchies get_molecules() const {return mhs_;}
30  core::RigidBodies get_rigid_bodies() const {return rbs_;}
31  float get_rmsd(const core::XYZs &second_xyz) const {
32  return atom::get_rmsd(second_xyz,xyz_);}
34  const ProteinsAnchorsSamplingSpace &mapping_data);
35  std::vector<Floats> score_by_restraints(kernel::Restraints rs,
36  const IntsList &combinations);
37 
39 
40 private:
41  atom::Hierarchies mhs_;
42  core::RigidBodies rbs_;
43  core::XYZs xyz_;
44  std::vector<multifit::FittingSolutionRecords> fits_;
46  ProteinsAnchorsSamplingSpace mapping_data_;
48 };
50 
51 IMPMULTIFITEXPORT
52 Ensemble* load_ensemble(multifit::SettingsData *sd,Model *mdl,
53  const ProteinsAnchorsSamplingSpace &mapping_data);
54 
55 IMPMULTIFIT_END_NAMESPACE
56 
57 #endif /* IMPMULTIFIT_ENSEMBLE_ANALYSIS_H */
An ensemble of fitting solutions.
Import IMP/kernel/base_types.h in the namespace.
distance metrics
handles reading and writing MultiFit fitting solutions file
stores the anchors sampling space for each protein
handles reading matches between a protein and its anchors
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const IMP::algebra::Transformation3D &tr_for_second=IMP::algebra::get_identity_transformation_3d())
Calculate the root mean square deviation between two sets of 3D points.
Definition: distance.h:28
stored multifit settings data
The standard decorator for manipulating molecular structures.
A beyesian infererence-based sampler.
stored a multifit fitting solution
Holds header data for optimization.
Definition: SettingsData.h:132
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Common base class for heavy weight IMP objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Class for storing model, its restraints, constraints, and particles.