[−][src]Struct talus::LabeledPoint
A point in a graph that contains enough information to allow for Morse complex construction
Fields
id: i64
An identifier for this point. Assumed to be unique.
point: T
FIXME The vector denoting the points location in some space. Used for distance computations.
value: f64
The scalar value associated with this point.
This is the value that is used to determine extrema in the graph.
Mathematically speaking, this corresponds to the value of some morse function at this point.
Methods
impl LabeledPoint<Vec<f64>>
[src]
pub fn from_record(record: &StringRecord) -> LabeledPoint<Vec<f64>>
[src]
pub fn points_from_file<P: AsRef<Path>>(
filename: P
) -> Result<Vec<LabeledPoint<Vec<f64>>>, Box<dyn Error>>
[src]
filename: P
) -> Result<Vec<LabeledPoint<Vec<f64>>>, Box<dyn Error>>
Trait Implementations
impl<T: Clone> Clone for LabeledPoint<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for LabeledPoint<T>
[src]
impl<'s> FromPyObject<'s> for LabeledPoint<Vec<f64>>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for LabeledPoint<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for LabeledPoint<T> where
T: Send,
T: Send,
impl<T> Sync for LabeledPoint<T> where
T: Sync,
T: Sync,
impl<T> Unpin for LabeledPoint<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for LabeledPoint<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,