A critical orbit based partition type. More...
#include </cur/unifexp/partcrit.h>
Public Member Functions | |
std::string | name () const |
Returns the name of the object. | |
void | create (const mapType< numType > &theMap, int partCount, const numType &delta) |
Creates a partition based on the given map, the requested number of elements in the partition, and the width of the critical neighborhood. | |
Static Private Member Functions | |
static numType | dist (const numType &x, const numType &y) |
A small helper functin that computes the distance between two numbers. | |
template<class vectType > | |
static void | fillUniform (vectType &tab, int first, int last) |
Fills part of the partition table between the given entries in a uniform way based on the values at these ends. |
A critical orbit based partition type.
The complement of the critical neighborhood is divided into intervals of approximately the same length.
Definition at line 54 of file partcrit.h.
void unifexp::partCritical< numType >::create | ( | const mapType< numType > & | theMap, |
int | partCount, | ||
const numType & | delta | ||
) | [virtual] |
Creates a partition based on the given map, the requested number of elements in the partition, and the width of the critical neighborhood.
Implements unifexp::partType< numType >.
Definition at line 107 of file partcrit.h.
numType unifexp::partCritical< numType >::dist | ( | const numType & | x, |
const numType & | y | ||
) | [inline, static, private] |
A small helper functin that computes the distance between two numbers.
Definition at line 87 of file partcrit.h.
void unifexp::partCritical< numType >::fillUniform | ( | vectType & | tab, |
int | first, | ||
int | last | ||
) | [static, private] |
Fills part of the partition table between the given entries in a uniform way based on the values at these ends.
Definition at line 96 of file partcrit.h.
std::string unifexp::partCritical< numType >::name | ( | ) | const [virtual] |
Returns the name of the object.
Implements unifexp::partType< numType >.
Definition at line 81 of file partcrit.h.