25 for p0
in lc.get_particles():
26 for p1
in lc.get_particles():
31 print "The maximum distance is " + str(max)
37 for p0
in lc.get_particles():
38 for p1
in lc.get_particles():
43 print "Afterwards, the maximum distance is " + str(max)
Various classes to hold sets of particles.
Upper bound harmonic function (non-zero when feature > mean)
void set_log_level(LogLevel l)
Set the current global log level.
Simple conjugate gradients optimizer.
double get_distance(XYZR a, XYZR b)
Compute the sphere distance between a and b.
Store a kernel::ParticleIndexes.
Restrain the diameter of a set of points.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A decorator for a particle with x,y,z coordinates.
Basic functionality that is expected to be used by a wide variety of IMP users.
Class for storing model, its restraints, constraints, and particles.