IMP logo
IMP Reference Guide  2.5.0
The Integrative Modeling Platform
optimizing.h
Go to the documentation of this file.
1 /**
2  * \file IMP/example/optimizing.h
3  * \brief A simple unary function.
4  *
5  * Copyright 2007-2015 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPEXAMPLE_OPTIMIZING_H
10 #define IMPEXAMPLE_OPTIMIZING_H
11 
12 #include <IMP/example/example_config.h>
13 #include <IMP/log.h>
14 #include <IMP/base_types.h>
15 #include <IMP/enums.h>
17 #include <IMP/enums.h>
18 
19 IMPEXAMPLE_BEGIN_NAMESPACE
20 /** Create a serial mover from a list of core::XYZR particles.
21  */
22 IMPEXAMPLEEXPORT core::MonteCarloMover *create_serial_mover(
23  const ParticlesTemp &ps);
24 
25 /** Take a set of core::XYZR particles and relax them relative to a set of
26  restraints. Excluded volume is handle separately, so don't include it
27  in the passed list of restraints.
28 
29  \include optimize_balls.cpp
30 */
31 IMPEXAMPLEEXPORT void optimize_balls(
32  const ParticlesTemp &ps,
33  const RestraintsTemp &rs = RestraintsTemp(),
34  const PairPredicates &excluded = PairPredicates(),
35  const OptimizerStates &opt_states = OptimizerStates(),
36  LogLevel ll = DEFAULT);
37 
38 IMPEXAMPLE_END_NAMESPACE
39 
40 #endif /* IMPEXAMPLE_OPTIMIZING_H */
Basic types used by IMP.
core::MonteCarloMover * create_serial_mover(const ParticlesTemp &ps)
IMP::Vector< IMP::Pointer< PairPredicate > > PairPredicates
Definition: base_types.h:121
LogLevel
The log levels supported by IMP.
Definition: enums.h:19
IMP::Vector< IMP::WeakPointer< Restraint > > RestraintsTemp
Definition: base_types.h:80
void optimize_balls(const ParticlesTemp &ps, const RestraintsTemp &rs=RestraintsTemp(), const PairPredicates &excluded=PairPredicates(), const OptimizerStates &opt_states=OptimizerStates(), LogLevel ll=DEFAULT)
IMP::Vector< IMP::Pointer< OptimizerState > > OptimizerStates
Definition: base_types.h:99
The base class for movers for MC optimization.
Basic types used by IMP.
Logging and error reporting support.