IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
kernel/optimizer_macros.h
Go to the documentation of this file.
1
/**
2
* \file IMP/kernel/optimizer_macros.h
3
* \brief Various general useful macros for IMP.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*
7
*/
8
9
#ifndef IMPKERNEL_OPTIMIZER_MACROS_H
10
#define IMPKERNEL_OPTIMIZER_MACROS_H
11
#include <IMP/kernel/kernel_config.h>
12
#include <
IMP/base/value_macros.h
>
13
#include "
Optimizer.h
"
14
15
16
//! Define the basic things you need for an Optimizer.
17
/** In addition to the methods done by IMP_OBJECT, it declares
18
- IMP::Optimizer::do_optimize()
19
20
\relatesalso IMP::Optimizer
21
*/
22
#define IMP_OPTIMIZER(Name) \
23
IMP_IMPLEMENT(virtual Float do_optimize(unsigned int max_steps)); \
24
IMP_OBJECT(Name)
25
26
27
28
#endif
/* IMPKERNEL_OPTIMIZER_MACROS_H */