IMP  2.2.0
The Integrative Modeling Platform
IMP::em::FittingSolutions Class Reference

A simple list of fitting solutions. More...

#include <IMP/em/rigid_fitting.h>

Public Member Functions

void add_solution (const algebra::Transformation3D &t, Float score)
 Add a solution to the fitting solution set.
 
int get_number_of_solutions () const
 Get the number of solutions in the set.
 
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.
 

Protected Attributes

std::vector< FittingSolution > fs_
 

Detailed Description

Member Function Documentation

Float IMP::em::FittingSolutions::get_score ( unsigned int  i) const
Returns
the i'th score, or throw an exception if the index is out of range

Definition at line 63 of file rigid_fitting.h.

algebra::Transformation3D IMP::em::FittingSolutions::get_transformation ( unsigned int  i) const
Returns
the i'th transformation, or throw an exception if the index is out of range

Definition at line 51 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 83 of file rigid_fitting.h.


The documentation for this class was generated from the following file: