OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGDoptimizer.h
Go to the documentation of this file.
1 
9 #ifndef OSSIM_GDOPTIMIZER_H
10 #define OSSIM_GDOPTIMIZER_H
11 
13 #include <ossim/base/ossimTerm.h>
14 
15 #include <vector>
16 
17 
18 
20 public:
35 
36 
42  ossimGDoptimizer(ossimTerm* function);
43 
44 
52  bool setFunction(ossimTerm* function);
53 
64  std::vector<ossim_float64> optimize(std::vector<ossim_float64> startPoint, ossim_float64 gamma = 0.001, ossim_float64 precision = 0.0001, ossim_uint32 maxEpoch = 10000) const;
65 
66 private:
67  // Stores the multivariant function to be optimized.
69 
70 };
71 
72 
73 
74 #endif // OSSIM_GDOPTIMIZER_H
An abstract class to containing a multivariable function.
Definition: ossimTerm.h:35
#define OSSIMDLLEXPORT
double ossim_float64
unsigned int ossim_uint32
ossimTerm * m_func
Simple Gradient Descent optimizer for ossim.