Public Member Functions | Private Member Functions

unifexp::partUniform< numType > Class Template Reference

A uniform partition type. More...

#include </cur/unifexp/partunif.h>

Inheritance diagram for unifexp::partUniform< numType >:
unifexp::partType< numType >

List of all members.

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.

Detailed Description

template<class numType>
class unifexp::partUniform< numType >

A uniform partition type.

The complement of the critical neighborhood is divided into intervals of approximately the same length.

Definition at line 53 of file partunif.h.


Member Function Documentation

template<class numType >
void unifexp::partUniform< 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 partunif.h.

template<class numType >
void unifexp::partUniform< 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 partunif.h.

template<class numType >
std::string unifexp::partUniform< numType >::name (  ) const [virtual]

Returns the name of the object.

Implements unifexp::partType< numType >.

Definition at line 75 of file partunif.h.


The documentation for this class was generated from the following file: