pub struct CatTrjsEv { /* private fields */ }Expand description
A collection of multivariate trajectories evidence.
Implementations§
Source§impl CatTrjsEv
impl CatTrjsEv
Sourcepub fn new<I>(evidences: I) -> Selfwhere
I: IntoIterator<Item = CatTrjEv>,
pub fn new<I>(evidences: I) -> Selfwhere
I: IntoIterator<Item = CatTrjEv>,
Constructs a new collection of trajectories evidence.
§Arguments
trajectories- An iterator ofCatTrjEvinstances.
§Panics
Panics if:
- The trajectories have different labels.
- The trajectories have different states.
- The trajectories have different shape.
§Returns
A new instance of CategoricalTrajectoriesEvidence.
Sourcepub fn states(&self) -> &States
pub fn states(&self) -> &States
Returns the states of the trajectories evidence.
§Returns
A reference to the states of the trajectories evidence.
Trait Implementations§
Source§impl FromIterator<CatTrjEv> for CatTrjsEv
impl FromIterator<CatTrjEv> for CatTrjsEv
Source§impl FromParallelIterator<CatTrjEv> for CatTrjsEv
impl FromParallelIterator<CatTrjEv> for CatTrjsEv
Source§fn from_par_iter<I: IntoParallelIterator<Item = CatTrjEv>>(iter: I) -> Self
fn from_par_iter<I: IntoParallelIterator<Item = CatTrjEv>>(iter: I) -> Self
Creates an instance of the collection from the parallel iterator
par_iter. Read moreSource§impl<'a> IntoIterator for &'a CatTrjsEv
impl<'a> IntoIterator for &'a CatTrjsEv
Source§impl<'a> IntoParallelRefIterator<'a> for CatTrjsEv
impl<'a> IntoParallelRefIterator<'a> for CatTrjsEv
Source§impl Labelled for CatTrjsEv
impl Labelled for CatTrjsEv
Source§fn label_to_index(&self, x: &str) -> usize
fn label_to_index(&self, x: &str) -> usize
Return the variable index for a given label. Read more
Source§fn index_to_label(&self, x: usize) -> &str
fn index_to_label(&self, x: usize) -> &str
Return the label for a given variable index. Read more
Source§fn index_to(&self, x: usize, other: &Labels) -> usize
fn index_to(&self, x: usize, other: &Labels) -> usize
Maps an index from this model to another model with the same label. Read more
Source§fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Set<usize>
fn indices_to(&self, x: &Set<usize>, other: &Labels) -> Set<usize>
Maps a set of indices from this model to another model with the same labels. Read more
Auto Trait Implementations§
impl Freeze for CatTrjsEv
impl RefUnwindSafe for CatTrjsEv
impl Send for CatTrjsEv
impl Sync for CatTrjsEv
impl Unpin for CatTrjsEv
impl UnwindSafe for CatTrjsEv
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more