pub struct GeometricGraph {
pub graph: Graph,
pub x: Vec<f64>,
pub y: Vec<f64>,
}Expand description
Result of Graph::grg_game: a geometric random graph together with the
positions of its vertices in the unit square.
Fields§
§graph: GraphThe generated graph.
x: Vec<f64>x coordinates of the vertices (sorted increasingly: vertex ids follow the x order).
y: Vec<f64>y coordinates of the vertices.
Trait Implementations§
Source§impl Clone for GeometricGraph
impl Clone for GeometricGraph
Source§fn clone(&self) -> GeometricGraph
fn clone(&self) -> GeometricGraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeometricGraph
impl Debug for GeometricGraph
Source§impl PartialEq for GeometricGraph
impl PartialEq for GeometricGraph
Source§fn eq(&self, other: &GeometricGraph) -> bool
fn eq(&self, other: &GeometricGraph) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeometricGraph
Auto Trait Implementations§
impl !Sync for GeometricGraph
impl Freeze for GeometricGraph
impl RefUnwindSafe for GeometricGraph
impl Send for GeometricGraph
impl Unpin for GeometricGraph
impl UnsafeUnpin for GeometricGraph
impl UnwindSafe for GeometricGraph
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