Optimization exception. More...
#include <Exception.h>
Public Types | |
typedef T | number_type |
Number type. | |
typedef Point | point_type |
Point type. | |
Public Member Functions | |
OptimizationException (const char *message, const point_type &location, const number_type value, const int num_function_calls) | |
Constructor. | |
virtual | ~OptimizationException () |
Destructor. | |
virtual void | print () |
Print an error message. | |
const std::string & | message () const |
Return the message. | |
const point_type & | location () const |
Return the location. | |
number_type | value () const |
Return the function value. | |
int | num_function_calls () const |
Return the number of function calls. |
Optimization exception.