9 #ifndef IMPEXAMPLE_CREATING_RESTRAINTS_H
10 #define IMPEXAMPLE_CREATING_RESTRAINTS_H
12 #include <IMP/example/example_config.h>
20 IMPEXAMPLE_BEGIN_NAMESPACE
37 (length_factor * 2.0 * scale, k,
"chain linker %1%"));
42 (ps, name +
" consecutive pairs"));
56 (ps, name +
" list"));
67 IMPEXAMPLE_END_NAMESPACE
Return all pairs from a SingletonContainer.
Various important functionality for implementing decorators.
Store a list of kernel::ParticlesTemp.
Return all pairs from a SingletonContainer.
A smart pointer to a reference counted object.
#define IMP_NEW(Typename, varname, args)
Declare a ref counted pointer to a new object.
Return all close unordered pairs of particles taken from the SingletonContainer.
O * release()
Relinquish control of the raw pointer stored in the Pointer.
#define IMP_USAGE_CHECK(expr, message)
A runtime test for incorrect usage of a class or method.
kernel::Restraint * create_chain_restraint(const kernel::ParticlesTemp &ps, double length_factor, double k, std::string name)
Store a kernel::ParticleIndexes.
A restraint is a term in an IMP ScoringFunction.
A Score on the distance between a pair of particles.
A score on the distance between the surfaces of two spheres.
container::ClosePairContainer * create_excluded_volume(const kernel::ParticlesTemp &ps, double k, std::string name)
kernel::Restraint * create_restraint(Score *s, Container *c, std::string name=std::string())
Class for storing model, its restraints, constraints, and particles.
A decorator for a particle with x,y,z coordinates and a radius.