Public Member Functions | Static Private Member Functions

unifexp::partCritical< numType > Class Template Reference

A critical orbit based partition type. More...

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

Inheritance diagram for unifexp::partCritical< 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.

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.

Detailed Description

template<class numType>
class unifexp::partCritical< numType >

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.


Member Function Documentation

template<class numType >
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.

template<class numType >
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.

template<class numType >
template<class vectType >
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.

template<class numType >
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.


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