This restraint stores a ParticlePair.
Public Member Functions | |
ContainersTemp | get_input_containers () const |
ParticlesTemp | get_input_particles () const |
ParticlesList | get_interacting_particles () const |
virtual bool | get_is_incremental () const |
virtual std::string | get_type_name () const |
virtual ::IMP::VersionInfo | get_version_info () const |
PairRestraint (PairScore *ss, const ParticlePair &vt, std::string name="PairRestraint %1%") | |
Create the restraint. | |
virtual double | unprotected_evaluate (DerivativeAccumulator *accum) const |
virtual double | unprotected_incremental_evaluate (DerivativeAccumulator *accum) const |
Friends | |
template<class T > | |
void | IMP::internal::unref (T *) |
IMP::core::PairRestraint::PairRestraint | ( | PairScore * | ss, | |
const ParticlePair & | vt, | |||
std::string | name = "PairRestraint %1%" | |||
) |
Create the restraint.
This function takes the function to apply to the stored Pair and the Pair.