Crate demes_forward_capi

Crate demes_forward_capi 

Source

Structs§

OpaqueForwardGraph
Not Send/Sync

Functions§

forward_graph_allocate
Allocate an OpaqueForwardGraph
forward_graph_ancestry_proportions
Safety
forward_graph_any_extant_offspring_demes
Check if there are any extant offspring demes.
forward_graph_any_extant_parent_demes
Check if there are any extant parental demes.
forward_graph_cloning_rates
Pointer to first element of cloning rates array.
forward_graph_deallocate
Safety
forward_graph_get_demes_graph
Get the underlying demes::Graph.
forward_graph_get_error_message
Safety
forward_graph_initialize_from_yaml
Initialize a discrete-time model from a yaml file
forward_graph_initialize_from_yaml_file
Safety
forward_graph_initialize_from_yaml_round_epoch_sizes
Initialize and round epoch start/end sizes.
forward_graph_initialize_time_iteration
Initialize graph to begin iterating over model.
forward_graph_is_error_state
Safety
forward_graph_iterate_time
Iterate to the next time point in the model.
forward_graph_model_end_time
Get the model end time.
forward_graph_number_of_demes
Get the total number of demes in the model
forward_graph_offspring_deme_sizes
Return a pointer to the first element of offspring deme size array.
forward_graph_parental_deme_sizes
Return a pointer to the first element of parental deme size array.
forward_graph_selfing_rates
Pointer to first element of selfing rates array.
forward_graph_update_state
Update the model state to a given time.