Apply a SingletonFunction to a SingletonContainer to maintain an invariant.
See IMP.container for more information.
An example singleton modifer.
void add_bool_flag(std::string name, std::string description)
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
See IMP.core for more information.
See IMP.example for more information.
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
Class for storing model, its restraints, constraints, and particles.