IMP logo

IMP::domino::RestraintEvaluator Class Reference


Detailed Description

A direct restraint evaluator.
Inheritance diagram for IMP::domino::RestraintEvaluator:

Inheritance graph
[legend]

Public Member Functions

void calc_scores (const Combinations &comb_states, CombinationValues &comb_values, Restraint *r, const Particles &ps)
 Score a restraint with a specific combination of states.
 RestraintEvaluator (DiscreteSampler *ds)
 Constructor.
void show (std::ostream &out=std::cout) const

Protected Member Functions

void update_score_states (const IMP::Particles &ps)

Protected Attributes

DiscreteSamplerds_

Constructor & Destructor Documentation

IMP::domino::RestraintEvaluator::RestraintEvaluator ( DiscreteSampler ds  ) 

Constructor.

Parameters:
[in] ds A discrete sampling space


Member Function Documentation

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

Score a restraint with a specific combination of states.

Parameters:
[in] comb_states the combination of states to calculate scores for
[in] r the restraint to score
[in] ps the particles that scored by the restraint
[out] comb_values the value of the restraint when the particles are in a combination defined by cs.

Reimplemented from IMP::domino::RestraintEvaluatorI.


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