pub struct Embedding {
pub dimensions: usize,
pub coordinates: Vec<Vec<f64>>,
pub reconstruction_error: f64,
}Expand description
A spectral embedding of the fleet graph.
Fields§
§dimensions: usizeNumber of dimensions.
coordinates: Vec<Vec<f64>>Coordinates of each agent in R^dimensions.
reconstruction_error: f64Reconstruction error (how well the embedding preserves distances).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Embedding
impl RefUnwindSafe for Embedding
impl Send for Embedding
impl Sync for Embedding
impl Unpin for Embedding
impl UnsafeUnpin for Embedding
impl UnwindSafe for Embedding
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