Inheritance diagram for w2img::LinearRBF::DataDrivenUniformStrategy:
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 > ¢ers) |
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::Input > | centers |
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.
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.
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] |