pub struct SamplesInfo {
pub samples: Vec<IdType>,
pub edge_buffer_founder_nodes: Vec<IdType>,
}
Expand description
Information about samples used for table simpilfication.
Fields§
§samples: Vec<IdType>
A list of sample IDs. Can include both “alive” and “ancient/remembered/preserved” sample nodes.
edge_buffer_founder_nodes: Vec<IdType>
When using EdgeBuffer
to record transmission
events, this list must contain a list of all node IDs
alive the last time simplification happened. Here,
“alive” means “could leave more descendants”.
At the start of a simulation, this should be filled
with a list of “founder” node IDs.
Implementations§
Source§impl SamplesInfo
impl SamplesInfo
Trait Implementations§
Source§impl Default for SamplesInfo
impl Default for SamplesInfo
Source§fn default() -> SamplesInfo
fn default() -> SamplesInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SamplesInfo
impl RefUnwindSafe for SamplesInfo
impl Send for SamplesInfo
impl Sync for SamplesInfo
impl Unpin for SamplesInfo
impl UnwindSafe for SamplesInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more