![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
Utils for memoization of OccupancySpectrumDistribution objects (optimization) More...
Classes | |
struct | hash_parameters |
To store pairs of distribution parameters \(k\) and \(N\) in a hashmap. More... | |
Functions | |
template<class FilterPolicy = filter_policy::return_always_true, class EditorPolicy = editor_policy::identity> | |
const ProbabilityDistribution< FilterPolicy, EditorPolicy > & | memoize (int k, int N) |
Store on RAM the entire distributions of occupancy spectrums for every pair \(k\) and \(N\). | |
Utils for memoization of OccupancySpectrumDistribution objects (optimization)
const ProbabilityDistribution< FilterPolicy, EditorPolicy > & quetzal::coalescence::occupancy_spectrum::memoize::memoize | ( | int | k, |
int | N | ||
) |
Store on RAM the entire distributions of occupancy spectrums for every pair \(k\) and \(N\).
k | the number of balls (lineages) to throw (coalesce) |
N | the nummber of urns (parents) |