Top | ![]() |
![]() |
![]() |
![]() |
Functions
void | ncm_abc_free () |
void | ncm_abc_clear () |
gboolean | ncm_abc_data_summary () |
gdouble | ncm_abc_mock_distance () |
gdouble | ncm_abc_distance_prob () |
void | ncm_abc_update_tkern () |
const gchar * | ncm_abc_get_desc () |
const gchar * | ncm_abc_log_info () |
void | ncm_abc_set_mtype () |
void | ncm_abc_set_data_file () |
void | ncm_abc_set_nthreads () |
void | ncm_abc_set_rng () |
void | ncm_abc_set_trans_kern () |
gdouble | ncm_abc_get_dist_quantile () |
gdouble | ncm_abc_get_accept_ratio () |
void | ncm_abc_update_epsilon () |
gdouble | ncm_abc_get_epsilon () |
gdouble | ncm_abc_get_depsilon () |
void | ncm_abc_start_run () |
void | ncm_abc_end_run () |
void | ncm_abc_reset () |
void | ncm_abc_run () |
void | ncm_abc_mean_covar () |
void | ncm_abc_start_update () |
void | ncm_abc_end_update () |
void | ncm_abc_update () |
#define | NCM_ABC_MIN_FLUSH_INTERVAL |
Properties
NcmDataset * | data-set | Read / Write / Construct Only |
gdouble | epsilon | Read / Write / Construct |
NcmMSet * | mset | Read / Write / Construct Only |
guint | nparticles | Read |
NcmMSetTransKern * | prior | Read / Write / Construct Only |
NcmMSetTransKern * | trans-kernel | Read / Write |
Functions
ncm_abc_data_summary ()
gboolean
ncm_abc_data_summary (NcmABC *abc
);
Calculates the data summary and stores internally.
[virtual data_summary]
ncm_abc_mock_distance ()
gdouble ncm_abc_mock_distance (NcmABC *abc
,NcmDataset *dset
,NcmVector *theta
,NcmVector *thetastar
,NcmRNG *rng
);
Calculates the distance of the new point given by thetastar
given the old point theta
.
[virtual mock_distance]
ncm_abc_distance_prob ()
gdouble ncm_abc_distance_prob (NcmABC *abc
,gdouble distance
);
Calculates the probability of the distance been accepted.
[virtual distance_prob]
ncm_abc_update_tkern ()
void
ncm_abc_update_tkern (NcmABC *abc
);
Updates the transition kernel present in abc->tkern
.
[virtual update_tkern]
ncm_abc_get_desc ()
const gchar *
ncm_abc_get_desc (NcmABC *abc
);
Gets the description of the current ABC implementation.
[virtual get_desc]
ncm_abc_log_info ()
const gchar *
ncm_abc_log_info (NcmABC *abc
);
Gets the informations about the current run of ABC.
[virtual log_info]
ncm_abc_run ()
void ncm_abc_run (NcmABC *abc
,guint nparticles
);
Generates particlea until n
particles are accepted.
ncm_abc_update ()
void
ncm_abc_update (NcmABC *abc
);
Runs the Monte Carlo until it reaches the n
-th realization. Note that
if the first_id is non-zero it will run n
- first_id realizations.
Property Details
The “epsilon”
property
“epsilon” gdouble
epsilon.
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 1e+20
The “trans-kernel”
property
“trans-kernel” NcmMSetTransKern *
Transition Kernel.
Flags: Read / Write