From 04fac42febd1e8cd594910cdc1143b8666ec14a3 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 8 Apr 2021 15:39:42 +0530 Subject: Rename volume-experiment to volume-importance. * src/extent-sampling.sc, include/extent-sampling.h (volume-experiment): Rename to volume-importance. --- include/extent-sampling.h | 2 +- src/extent-sampling.sc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/extent-sampling.h b/include/extent-sampling.h index 1fd6bba..9ceddf5 100644 --- a/include/extent-sampling.h +++ b/include/extent-sampling.h @@ -58,7 +58,7 @@ double volume_cone const gsl_vector* mean, double omega_min, double omega_max, unsigned int number_of_samples, double* variance); -double volume_experiment +double volume_importance (extent_oracle_t *extent_oracle, const gsl_rng* r, const gsl_vector* mean, unsigned int samples_per_cone, double solid_angle_factor, double solid_angle_threshold_exponent_factor, diff --git a/src/extent-sampling.sc b/src/extent-sampling.sc index 73f0e3d..4ed6d33 100644 --- a/src/extent-sampling.sc +++ b/src/extent-sampling.sc @@ -156,7 +156,7 @@ (- omega-max omega-min))))) (return volume)) -(define (volume-experiment extent-oracle r mean samples-per-cone solid-angle-factor +(define (volume-importance extent-oracle r mean samples-per-cone solid-angle-factor solid-angle-threshold-exponent-factor number-of-samples) (double extent-oracle-t* (const gsl-rng*) (const gsl-vector*) (unsigned int) double double (unsigned int*)) -- cgit v1.2.3