more doxygen stuff

This commit is contained in:
Dongryeol Lee
2008-01-21 21:37:45 +00:00
parent c3660ffe1e
commit de55a273af
3 changed files with 13 additions and 25 deletions
-6
View File
@@ -704,12 +704,6 @@ class FFTKde {
~FFTKde() {}
////////// Getters/Setters //////////
/** get the reference dataset */
Matrix &get_reference_dataset() { return rset_; }
/** get the query dataset */
Matrix &get_query_dataset() { return qset_; }
/** get the density estimate */
void get_density_estimates(Vector *results) {
+13 -13
View File
@@ -849,6 +849,19 @@ class FGTKde {
references_assigned, mcoeffs);
}
/**
* Normalize the density estimates after the unnormalized sums have
* been computed
*/
void NormalizeDensities() {
double norm_const = kernel_.CalcNormConstant(qset_.n_rows()) *
rset_.n_cols();
for(index_t q = 0; q < qset_.n_cols(); q++) {
densities_[q] /= norm_const;
}
}
public:
////////// Constructor/Destructor //////////
@@ -1046,19 +1059,6 @@ class FGTKde {
printf("FGT KDE completed...\n");
}
/**
* Normalize the density estimates after the unnormalized sums have
* been computed
*/
void NormalizeDensities() {
double norm_const = kernel_.CalcNormConstant(qset_.n_rows()) *
rset_.n_cols();
for(index_t q = 0; q < qset_.n_cols(); q++) {
densities_[q] /= norm_const;
}
}
void PrintDebug() {
FILE *stream = stdout;
-6
View File
@@ -906,12 +906,6 @@ class FastKde {
////////// Getters/Setters //////////
/** get the reference dataset */
Matrix &get_reference_dataset() { return rset_; }
/** get the query dataset */
Matrix &get_query_dataset() { return qset_; }
/** get the density estimate */
void get_density_estimates(Vector *results) {
results->Init(q_results_.size());