Crate demes_forward

Source
Expand description

§Forward-time traversal of demes models.

§Re-exports

This crate re-exports demes. Client code does not have to list demes as a cargo dependency, guaranteeing that a compatible version is available.

use demes_forward::demes;

let yaml = "
time_units: generations
demes:
 - name: a_deme
   epochs:
    - start_size: 100
";
assert!(demes::loads(yaml).is_ok());

Re-exports§

pub use demes;

Structs§

CurrentSize
The current size of a deme.
DemeSizeAt
The size of a deme at a given time.
ForwardGraph
Forward-time representation of a demes::Graph.
ForwardTime
Representating of time moving in a forward direction.

Enums§

DemesForwardError
Error type.