#include <quetzal/coalescence/occupancy_spectrum/Support.hpp>
Set of occupancy spectrums resulting from throwing \(n\) balls (the number of coalescing gene copies) into \(m\) urns (the number of parents).
|
| Support (int n, int m) |
| Constructor.
|
|
template<class UnaryOperation > |
void | generate (UnaryOperation op) const |
| Generate all possible configurations.
|
|
◆ Support()
quetzal::coalescence::occupancy_spectrum::Support::Support |
( |
int |
n, |
|
|
int |
m |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
n | number of balls to throw |
m | number of urns |
◆ generate()
template<class UnaryOperation >
void quetzal::coalescence::occupancy_spectrum::Support::generate |
( |
UnaryOperation |
op | ) |
const |
|
inline |
Generate all possible configurations.
- Parameters
-
n | number of balls to throw |
m | number of urns |
op | unary operation function object that will be applied to handle generated spectra. The signature of the function should be equivalent to the following: Ret fun(OccupancySpectrum && s); |
The documentation for this class was generated from the following file:
- /home/runner/work/quetzal-CoaTL/quetzal-CoaTL/src/include/quetzal/coalescence/occupancy_spectrum/Support.hpp