9#ifndef IMPRMF_SAVE_OPTIMIZER_STATE_H
10#define IMPRMF_SAVE_OPTIMIZER_STATE_H
12#include <IMP/rmf/rmf_config.h>
31 SaveOptimizerState(Model *m, RMF::FileHandle fh);
33 IMP_LIST_ACTION(
public, Hierarchy, Hierarchies, hierarchy, hierarchies,
36 IMP_LIST_ACTION(
public,
Restraint, estraints, restraint, restraints,
42 IMP_LIST_ACTION(
public, Geometry, Geometries, geometry, geometries,
55 virtual void do_update(
unsigned int call_num)
override;
Base class for "simulators", such as molecular dynamics.
Input/output of IMP::atom::Hierarchy information.
void update_always()
Force the state to perform its action now, ignoring the periodicity.
OptimizerState(Model *m, std::string name)
Constructor.
Class to handle individual particles of a Model object.
A restraint is a term in an IMP ScoringFunction.
The standard decorator for manipulating molecular structures.
The base class for simulators.
The base class for geometry.
void set_simulator(atom::Simulator *sim)
Use the simulator to tag frames with current time.
virtual void do_update(unsigned int call_num) override
void update_always(std::string name)
Write a frame with a given name.
Handle read/write of geometry data from/to files.
IMP::Vector< IMP::WeakPointer< Geometry > > GeometriesTemp
IMP::Vector< IMP::Pointer< Geometry > > Geometries
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Add geometries to the file.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
IMP::Vector< IMP::Pointer< Restraint > > Restraints
Vector< Pointer< Particle > > Particles
A list of reference-counted Particle objects.
IMP::Vector< IMP::WeakPointer< Restraint > > RestraintsTemp
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Manage read/write of particles from/to RMF files.
Manage read/write of Restraints from/to RMF files.
Smart pointer to Object-derived classes that does not refcount.