Commit 89686bbeb889f188b7643acfbefab4b06fadc059
1 parent
91bd2e66
Update documentation.
Showing
1 changed file
with
5 additions
and
12 deletions
include/GOptimizerPars.hpp
| ... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 | /* __ Includes ___________________________________________________________ */ |
| 31 | 31 | #include <string> |
| 32 | 32 | #include "GContainer.hpp" |
| 33 | -#include "GModelPar.hpp" | |
| 33 | +#include "GOptimizerPar.hpp" | |
| 34 | 34 | |
| 35 | 35 | |
| 36 | 36 | /***********************************************************************//** |
| ... | ... | @@ -42,17 +42,10 @@ |
| 42 | 42 | * be optimized. The optimizer function is defined by the abstract |
| 43 | 43 | * GOptimizerFunction class. |
| 44 | 44 | * |
| 45 | - * The class holds a flat array of pointers to models parameters. It neither | |
| 46 | - * deals with allocation and deallocation, nor with cloning of function | |
| 47 | - * parameters, this will be done by the classes that actually implement the | |
| 48 | - * model parameters. | |
| 49 | - * | |
| 50 | - * @todo This container class has no operator[] method as GModels is a | |
| 51 | - * derived class of this container class so that GModels can be | |
| 52 | - * passed to the optimizer. GModels has an operator[] to access | |
| 53 | - * models, so we cannot implement this here again. This is not | |
| 54 | - * very clean. We should think about how we can make this a clean | |
| 55 | - * thing ... | |
| 45 | + * The class holds a flat array of pointers to optimizer parameters. The | |
| 46 | + * class can deal with parameters that are allocated by the class itself, | |
| 47 | + * or with pointers that are passed by a client and allocated/deallocated | |
| 48 | + * by the client. | |
| 56 | 49 | ***************************************************************************/ |
| 57 | 50 | class GOptimizerPars : public GContainer { |
| 58 | 51 | ... | ... |