Apply a SingletonFunction to a SingletonContainer to maintain an invariant.
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
Various classes to hold sets of particles.
XYZRs create_xyzr_particles(Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
Class for storing model, its restraints, constraints, and particles.
An example singleton modifier.
Store a list of ParticleIndexes.
Basic functionality that is expected to be used by a wide variety of IMP users.
void add_bool_flag(std::string name, std::string description)