IMP  2.4.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/base/log.h>
14 #include <IMP/base_types.h>
15 #include <IMP/base/enums.h>
17 #include <IMP/base/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 kernel::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 kernel::ParticlesTemp &ps,
34  const PairPredicates &excluded = PairPredicates(),
35  const OptimizerStates &opt_states = OptimizerStates(),
37 
38 IMPEXAMPLE_END_NAMESPACE
39 
40 #endif /* IMPEXAMPLE_OPTIMIZING_H */
Import IMP/kernel/base_types.h in the namespace.
LogLevel
The log levels supported by IMP.
Definition: enums.h:20
IMP::base::Vector< IMP::base::WeakPointer< Restraint > > RestraintsTemp
void optimize_balls(const kernel::ParticlesTemp &ps, const kernel::RestraintsTemp &rs=kernel::RestraintsTemp(), const PairPredicates &excluded=PairPredicates(), const OptimizerStates &opt_states=OptimizerStates(), base::LogLevel ll=base::DEFAULT)
The base class for movers for MC optimization.
IMP::base::Vector< IMP::base::Pointer< PairPredicate > > PairPredicates
Basic types used by IMP.
IMP::base::Vector< IMP::base::Pointer< OptimizerState > > OptimizerStates
core::MonteCarloMover * create_serial_mover(const kernel::ParticlesTemp &ps)
Logging and error reporting support.