pub struct GemParams {
pub maxiter: u32,
pub temp_max: f64,
pub temp_min: f64,
pub temp_init: f64,
}Expand description
Parameters for the GEM layout algorithm.
Fields§
§maxiter: u32Maximum number of single-vertex iterations.
A reasonable default is 40 * n * n.
temp_max: f64Maximum allowed local temperature. Default: n (vertex count).
temp_min: f64Global temperature threshold for termination. Default: 0.1.
temp_init: f64Initial local temperature per vertex. Default: sqrt(n).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GemParams
impl RefUnwindSafe for GemParams
impl Send for GemParams
impl Sync for GemParams
impl Unpin for GemParams
impl UnsafeUnpin for GemParams
impl UnwindSafe for GemParams
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