w2img::LinearRBF::DataDrivenUniformStrategy Class Reference

Inheritance diagram for w2img::LinearRBF::DataDrivenUniformStrategy:

w2img::LinearRBF::UniformStrategy w2img::LinearRBF::Strategy w2img::LinearRBF::KMeansStrategy List of all members.

Detailed Description

Uniformly spaced centers, but uses the minbounds and maxbounds computed from the data.


Public Member Functions

virtual ~DataDrivenUniformStrategy ()
virtual void update (const std::vector< LinearRBF::Input > &inputs, const std::vector< double > &outputs, double &influence_radius, std::vector< LinearRBF::Input > &centers)
 sub-classes implement this method to update the two pieces of data.
 DataDrivenUniformStrategy (const std::vector< size_t > &number_)
void update (const std::vector< LinearRBF::Input > &inputs, const std::vector< double > &outputs)
 update based on new training data.
double getInfluenceRadius () const
const std::vector< LinearRBF::Input > & getCenters () const

Static Public Member Functions

static double findDistanceSquared (const std::vector< double > &a, const std::vector< double > &b)
static double findAverageDistance (const std::vector< LinearRBF::Input > &)

Protected Member Functions

 DataDrivenUniformStrategy ()
 plan to set number later.
void init (const LinearRBF::Input &minbounds, const LinearRBF::Input &maxbounds, const std::vector< size_t > &number)

Protected Attributes

std::vector< size_t > number
double influenceRadius
std::vector< LinearRBF::Inputcenters


Constructor & Destructor Documentation

virtual w2img::LinearRBF::DataDrivenUniformStrategy::~DataDrivenUniformStrategy (  )  [inline, virtual]

w2img::LinearRBF::DataDrivenUniformStrategy::DataDrivenUniformStrategy ( const std::vector< size_t > &  number_  )  [inline]

w2img::LinearRBF::DataDrivenUniformStrategy::DataDrivenUniformStrategy (  )  [inline, protected]

plan to set number later.


Member Function Documentation

static double w2img::LinearRBF::Strategy::findAverageDistance ( const std::vector< LinearRBF::Input > &   )  [static, inherited]

static double w2img::LinearRBF::Strategy::findDistanceSquared ( const std::vector< double > &  a,
const std::vector< double > &  b 
) [static, inherited]

const std::vector<LinearRBF::Input>& w2img::LinearRBF::Strategy::getCenters (  )  const [inline, inherited]

double w2img::LinearRBF::Strategy::getInfluenceRadius (  )  const [inline, inherited]

void w2img::LinearRBF::UniformStrategy::init ( const LinearRBF::Input minbounds,
const LinearRBF::Input maxbounds,
const std::vector< size_t > &  number 
) [protected, inherited]

void w2img::LinearRBF::Strategy::update ( const std::vector< LinearRBF::Input > &  inputs,
const std::vector< double > &  outputs 
) [inherited]

update based on new training data.

virtual void w2img::LinearRBF::DataDrivenUniformStrategy::update ( const std::vector< LinearRBF::Input > &  inputs,
const std::vector< double > &  outputs,
double &  influence_radius,
std::vector< LinearRBF::Input > &  centers 
) [virtual]

sub-classes implement this method to update the two pieces of data.

Reimplemented from w2img::LinearRBF::UniformStrategy.

Reimplemented in w2img::LinearRBF::KMeansStrategy.


Member Data Documentation

std::vector<LinearRBF::Input> w2img::LinearRBF::Strategy::centers [protected, inherited]

double w2img::LinearRBF::Strategy::influenceRadius [protected, inherited]

std::vector<size_t> w2img::LinearRBF::DataDrivenUniformStrategy::number [protected]


Generated on Fri May 4 13:40:24 2012 for WDSS-IIw2algs by  doxygen 1.4.7