aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-04-08 15:39:42 +0530
committerArun Isaac2021-04-08 15:39:42 +0530
commit04fac42febd1e8cd594910cdc1143b8666ec14a3 (patch)
tree639913a95694e3bdb0dff17a9b4323bda7f7b9c6
parent1241246fd8a7babb18b163662b356bdf63c887c3 (diff)
downloadnsmc-04fac42febd1e8cd594910cdc1143b8666ec14a3.tar.gz
nsmc-04fac42febd1e8cd594910cdc1143b8666ec14a3.tar.lz
nsmc-04fac42febd1e8cd594910cdc1143b8666ec14a3.zip
Rename volume-experiment to volume-importance.
* src/extent-sampling.sc, include/extent-sampling.h (volume-experiment): Rename to volume-importance.
-rw-r--r--include/extent-sampling.h2
-rw-r--r--src/extent-sampling.sc2
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*))