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