IMP logo

IMP::domino::RestraintEvaluatorFromFile Class Reference


Detailed Description

A read restraint values from precalculated files.
Inheritance diagram for IMP::domino::RestraintEvaluatorFromFile:

Inheritance graph
[legend]

Public Member Functions

void calc_scores (const Combinations &comb_states, CombinationValues &comb_values, Restraint *r, const Particles &ps)
 Score restraint with combinations of states.
std::string get_restraint_file (Restraint *r) const
void set_restraint_file (Restraint *r, char *filename)
 Constructor.
void show (std::ostream &out=std::cout) const

Protected Member Functions

void update_score_states (IMP::Particles &ps)

Protected Attributes

std::map< Restraint
*, std::string > 
restraint_data_

Member Function Documentation

void IMP::domino::RestraintEvaluatorFromFile::calc_scores ( const Combinations &  comb_states,
CombinationValues &  comb_values,
Restraint r,
const Particles ps 
) [virtual]

Score restraint with combinations of states.

Parameters:
[in] comb_states the combination of states
[in] r the restraint to score
[in] ps the particles that scored by the restraint
[out] comb_values the restraint values for the combiations

Reimplemented from IMP::domino::RestraintEvaluatorI.

void IMP::domino::RestraintEvaluatorFromFile::set_restraint_file ( Restraint r,
char *  filename 
)

Constructor.

Add link between a restraint and its precalculated scores

Parameters:
[in] r A restraint
[in] filename The restraint scores filename


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

Generated on Mon Mar 8 23:09:00 2010 for IMP by doxygen 1.5.8