IMP Reference Guide
2.21.0
The Integrative Modeling Platform
|
A simple list of fitting solutions. More...
#include <IMP/em/rigid_fitting.h>
A simple list of fitting solutions.
Definition at line 43 of file rigid_fitting.h.
Public Member Functions | |
void | add_solution (const algebra::Transformation3D &t, Float score) |
Add a solution to the fitting solution set. More... | |
int | get_number_of_solutions () const |
Get the number of solutions in the set. More... | |
Float | get_score (unsigned int i) const |
Get the score of the i'th solution. More... | |
algebra::Transformation3D | get_transformation (unsigned int i) const |
Get the score of the i'th solution. More... | |
algebra::Transformation3Ds | get_transformations () const |
void | multiply (const algebra::Transformation3D &t) |
void | set_score (unsigned int i, Float score) |
void | show (std::ostream &out=std::cout) const |
void | sort (bool reverse=false) |
Sort solutions by cross-correlation scores. More... | |
Protected Attributes | |
std::vector< FittingSolution > | fs_ |
void IMP::em::FittingSolutions::add_solution | ( | const algebra::Transformation3D & | t, |
Float | score | ||
) |
Add a solution to the fitting solution set.
int IMP::em::FittingSolutions::get_number_of_solutions | ( | ) | const |
Get the number of solutions in the set.
Definition at line 55 of file rigid_fitting.h.
Float IMP::em::FittingSolutions::get_score | ( | unsigned int | i | ) | const |
Get the score of the i'th solution.
Definition at line 73 of file rigid_fitting.h.
algebra::Transformation3D IMP::em::FittingSolutions::get_transformation | ( | unsigned int | i | ) | const |
Get the score of the i'th solution.
Definition at line 61 of file rigid_fitting.h.
void IMP::em::FittingSolutions::multiply | ( | const algebra::Transformation3D & | t | ) |
Multiply each transformation (T) by t, such that the new transformation are T*t
Definition at line 93 of file rigid_fitting.h.
void IMP::em::FittingSolutions::sort | ( | bool | reverse = false | ) |
Sort solutions by cross-correlation scores.