This is an abstract map type. More...
#include </cur/unifexp/maptype.h>
Public Member Functions | |
mapType () | |
The constructor. | |
virtual | ~mapType () |
The virtual destructor. | |
virtual std::string | name () const =0 |
Returns the name of the object. | |
void | setParam (const numType &_paramMin, const numType &_paramMax) |
Sets the parameters of the map. | |
virtual int | countCritical () const =0 |
Returns the number of critical points. | |
virtual numType | criticalPoint (int n) const =0 |
Returns the subsequent critical points. | |
virtual numType | leftBound () const =0 |
Returns the left bound of the domain of the map. | |
virtual numType | rightBound () const =0 |
Returns the right bound of the domain of the map. | |
virtual void | image (const numType &x1, const numType &x2, numType &y1, numType &y2) const =0 |
Computes an enclosure of the image of the given interval. | |
virtual numType | minLogDerivative (const numType &x1, const numType &x2, const numType &y1, const numType &y2) const =0 |
Computes the minimal log of the derivative over those points in the interval [x1,x2] whose images may fall into [y1,y2]. | |
Protected Attributes | |
numType | paramMin |
The minimal parameter of the map. | |
numType | paramMax |
The maximal parameter of the map. | |
Private Member Functions | |
mapType (const mapType< numType > &) | |
Copy constructor not allowed. | |
mapType< numType > & | operator= (const mapType< numType > &) |
Assignment operator not allowed. |
This is an abstract map type.
Each specific map class must inherit from this class.
Definition at line 50 of file maptype.h.
unifexp::mapType< numType >::mapType | ( | ) | [inline] |
unifexp::mapType< numType >::~mapType | ( | ) | [inline, virtual] |
unifexp::mapType< numType >::mapType | ( | const mapType< numType > & | ) | [inline, private] |
virtual int unifexp::mapType< numType >::countCritical | ( | ) | const [pure virtual] |
Returns the number of critical points.
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
virtual numType unifexp::mapType< numType >::criticalPoint | ( | int | n ) | const [pure virtual] |
Returns the subsequent critical points.
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
virtual void unifexp::mapType< numType >::image | ( | const numType & | x1, |
const numType & | x2, | ||
numType & | y1, | ||
numType & | y2 | ||
) | const [pure virtual] |
Computes an enclosure of the image of the given interval.
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
virtual numType unifexp::mapType< numType >::leftBound | ( | ) | const [pure virtual] |
Returns the left bound of the domain of the map.
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
virtual numType unifexp::mapType< numType >::minLogDerivative | ( | const numType & | x1, |
const numType & | x2, | ||
const numType & | y1, | ||
const numType & | y2 | ||
) | const [pure virtual] |
Computes the minimal log of the derivative over those points in the interval [x1,x2] whose images may fall into [y1,y2].
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
virtual std::string unifexp::mapType< numType >::name | ( | ) | const [pure virtual] |
Returns the name of the object.
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
mapType< numType > & unifexp::mapType< numType >::operator= | ( | const mapType< numType > & | ) | [inline, private] |
virtual numType unifexp::mapType< numType >::rightBound | ( | ) | const [pure virtual] |
Returns the right bound of the domain of the map.
Implemented in unifexp::mapCubic< numType >, unifexp::mapCubicIntv< numType >, unifexp::mapQuadr< numType >, unifexp::mapQuadrIntv< numType >, unifexp::mapUnimodal< numType >, and unifexp::mapUnimodalIntv< numType >.
void unifexp::mapType< numType >::setParam | ( | const numType & | _paramMin, |
const numType & | _paramMax | ||
) | [inline] |
numType unifexp::mapType< numType >::paramMax [protected] |
numType unifexp::mapType< numType >::paramMin [protected] |