class SlaveForward : public Forward a class for user-defined forward operators
| | SlaveForward ( int ndim, int ndat , AString & cmdtr, const AString & argtr, int verbose) Constructor
| ||||||||||
| className () const returns name of the class; | |||||||||||
| | dataList (const Model <double>& m) returns a list of data as a result of evaluation | ||||||||||
| | dataList (const Model <long>& m) returns a list of data as a result of evaluation | ||||||||||
| gradient (const Model <double>& m) returns the gradient vector evaluated at the Model m | |||||||||||
| gradient (const Model <long>& m) returns the gradient vector evaluated at the Model m |
SlaveForward is a class for user-defined forward operators. SlaveForward almost a duplicate of the class Slave- ObjectiveFunction in UGA developed by Martin Smith of NER. It provides a communication of the optimization and user- suppiled objective-function evaluation program. The executable of this prgram is invoked by SlaveForward, so they can be written in any programming language. COOOL does not know about this program, it only requires the supply of the result. The scheme of this class is adopted from that of EXPECT written by Don Libe.SlaveForward currently only takes Models either double or long integer. It is mostly because I tried to avoid using templates, due to the ugliness of template features in G++. Hopefully, this could be changed soon.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling