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_ |
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.
[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
[in] | r | A restraint |
[in] | filename | The restraint scores filename |