IMP logo
IMP Reference Guide  2.6.2
The Integrative Modeling Platform
IMP::em::FittingSolutions Class Reference

A simple list of fitting solutions. More...

#include <IMP/em/rigid_fitting.h>

Detailed Description

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_
 

Member Function Documentation

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 45 of file rigid_fitting.h.

Float IMP::em::FittingSolutions::get_score ( unsigned int  i) const

Get the score of the i'th solution.

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

Get the score of the i'th solution.

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.

void IMP::em::FittingSolutions::sort ( bool  reverse = false)

Sort solutions by cross-correlation scores.


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