|
vg
tools for working with variation graphs
|
Public Member Functions | |
| MarkovDistribution (uint64_t seed) | |
| void | record_transition (From from, To to) |
| record a transition from the input data | |
| void | finalize () |
| indicate that there is no more data and prepare for sampling | |
| To | sample_transition (From from) |
| sample according to the training data | |
Private Attributes | |
| mt19937_64 | prng |
| unordered_map< From, vg::uniform_int_distribution< size_t > > | samplers |
| unordered_map< To, size_t > | column_of |
| vector< To > | value_at |
| unordered_map< From, vector< size_t > > | cond_distrs |
| vg::NGSSimulator::MarkovDistribution< From, To >::MarkovDistribution | ( | uint64_t | seed | ) |
A finite state Markov distribution that supports sampling
| void vg::NGSSimulator::MarkovDistribution< From, To >::finalize | ( | ) |
indicate that there is no more data and prepare for sampling
| void vg::NGSSimulator::MarkovDistribution< From, To >::record_transition | ( | From | from, |
| To | to ) |
record a transition from the input data
| To vg::NGSSimulator::MarkovDistribution< From, To >::sample_transition | ( | From | from | ) |
sample according to the training data
|
private |
|
private |
|
private |
|
private |
|
private |
1.17.0