A segmented partition type. More...
#include </cur/unifexp/partsegm.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. | |
Private Member Functions | |
void | fillUniform (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 segmented partition type.
Each component of the complement of the critical neighborhood is divided into the same number of intervals.
Definition at line 53 of file partsegm.h.
void unifexp::partSegmented< 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 92 of file partsegm.h.
void unifexp::partSegmented< numType >::fillUniform | ( | int | first, |
int | last | ||
) | [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 81 of file partsegm.h.
std::string unifexp::partSegmented< numType >::name | ( | ) | const [virtual] |
Returns the name of the object.
Implements unifexp::partType< numType >.
Definition at line 75 of file partsegm.h.