Struct forrustts::SamplesInfo[][src]

pub struct SamplesInfo {
    pub samples: Vec<IdType>,
    pub edge_buffer_founder_nodes: Vec<IdType>,
}

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

impl SamplesInfo[src]

pub fn new() -> Self[src]

Generate a new instance.

Trait Implementations

impl Default for SamplesInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.