pub struct HyperbolicGenerator { /* private fields */ }Implementations§
Source§impl HyperbolicGenerator
impl HyperbolicGenerator
pub fn new(n: u64, avg_degree: f64, exp: f64, t: f64) -> Self
pub fn generate_advanced( &mut self, angles: &[f64], radii: &[f64], r: f64, t: f64, ) -> Graph
pub fn set_leaf_capacity(&mut self, capacity: u64)
pub fn set_theoretical_split(&mut self, split: bool)
pub fn set_balance(&mut self, balance: f64)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HyperbolicGenerator
impl RefUnwindSafe for HyperbolicGenerator
impl !Send for HyperbolicGenerator
impl !Sync for HyperbolicGenerator
impl Unpin for HyperbolicGenerator
impl UnwindSafe for HyperbolicGenerator
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