class MultiTest : public ObjectiveFunction

a simple 2-D multi-modal test function

Inheritance:


public members:

MultiTest (int n )
MultiTest (int n , Vector <double>&, Vector <double>&, Vector <double>&, double)
const char* className () const
Vector <double>* getGradient (const Model <double>&)
Vector <double>* getGradient (const Model <long>&)

protected members:

double realPerformance (const Model <double>&)
double realPerformance (const Model <long>&)
Vector <double> wigle (const Vector <double>&, const Model <double>&)
int mySize () const

Inherited from ObjectiveFunction:

public members:

double performance(const Model <long>&)
double performance(const Model <double>&)
double performance(const Model <float>&)
int iterations() const

Documentation

MultiTest is a simple 2-D multimodal analytical function for testing optimization algortithms. The function looks like \[ f = m[0]^2+2m[1]^2-0.3\cos(2\Pi m[0])-0.4\cos(4\Pi m[1]+0.7) \]

MultiTest currently only takes Models either double or long integer. It is mostly because I tried to avoid using templates, due to the guliness of template features in G++. Hopefully, this could be changed soon.


this class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling