igraph_layout_drl_options_t

Struct igraph_layout_drl_options_t 

Source
#[repr(C)]
pub struct igraph_layout_drl_options_t {
Show 25 fields pub edge_cut: igraph_real_t, pub init_iterations: igraph_int_t, pub init_temperature: igraph_real_t, pub init_attraction: igraph_real_t, pub init_damping_mult: igraph_real_t, pub liquid_iterations: igraph_int_t, pub liquid_temperature: igraph_real_t, pub liquid_attraction: igraph_real_t, pub liquid_damping_mult: igraph_real_t, pub expansion_iterations: igraph_int_t, pub expansion_temperature: igraph_real_t, pub expansion_attraction: igraph_real_t, pub expansion_damping_mult: igraph_real_t, pub cooldown_iterations: igraph_int_t, pub cooldown_temperature: igraph_real_t, pub cooldown_attraction: igraph_real_t, pub cooldown_damping_mult: igraph_real_t, pub crunch_iterations: igraph_int_t, pub crunch_temperature: igraph_real_t, pub crunch_attraction: igraph_real_t, pub crunch_damping_mult: igraph_real_t, pub simmer_iterations: igraph_int_t, pub simmer_temperature: igraph_real_t, pub simmer_attraction: igraph_real_t, pub simmer_damping_mult: igraph_real_t,
}
Expand description

\struct igraph_layout_drl_options_t Parameters for the DrL layout generator

\member edge_cut The edge cutting parameter. Edge cutting is done in the late stages of the algorithm in order to achieve less dense layouts. Edges are cut if there is a lot of stress on them (a large value in the objective function sum). The edge cutting parameter is a value between 0 and 1 with 0 representing no edge cutting and 1 representing maximal edge cutting. The default value is 32/40. \member init_iterations Number of iterations, initial phase. \member init_temperature Start temperature, initial phase. \member init_attraction Attraction, initial phase. \member init_damping_mult Damping factor, initial phase. \member liquid_iterations Number of iterations in the liquid phase. \member liquid_temperature Start temperature in the liquid phase. \member liquid_attraction Attraction in the liquid phase. \member liquid_damping_mult Multiplicatie damping factor, liquid phase. \member expansion_iterations Number of iterations in the expansion phase. \member expansion_temperature Start temperature in the expansion phase. \member expansion_attraction Attraction, expansion phase. \member expansion_damping_mult Damping factor, expansion phase. \member cooldown_iterations Number of iterations in the cooldown phase. \member cooldown_temperature Start temperature in the cooldown phase. \member cooldown_attraction Attraction in the cooldown phase. \member cooldown_damping_mult Damping fact int the cooldown phase. \member crunch_iterations Number of iterations in the crunch phase. \member crunch_temperature Start temperature in the crunch phase. \member crunch_attraction Attraction in the crunch phase. \member crunch_damping_mult Damping factor in the crunch phase. \member simmer_iterations Number of iterations in the simmer phase. \member simmer_temperature Start temperature in te simmer phase. \member simmer_attraction Attraction in the simmer phase. \member simmer_damping_mult Multiplicative damping factor in the simmer phase.

Fields§

§edge_cut: igraph_real_t§init_iterations: igraph_int_t§init_temperature: igraph_real_t§init_attraction: igraph_real_t§init_damping_mult: igraph_real_t§liquid_iterations: igraph_int_t§liquid_temperature: igraph_real_t§liquid_attraction: igraph_real_t§liquid_damping_mult: igraph_real_t§expansion_iterations: igraph_int_t§expansion_temperature: igraph_real_t§expansion_attraction: igraph_real_t§expansion_damping_mult: igraph_real_t§cooldown_iterations: igraph_int_t§cooldown_temperature: igraph_real_t§cooldown_attraction: igraph_real_t§cooldown_damping_mult: igraph_real_t§crunch_iterations: igraph_int_t§crunch_temperature: igraph_real_t§crunch_attraction: igraph_real_t§crunch_damping_mult: igraph_real_t§simmer_iterations: igraph_int_t§simmer_temperature: igraph_real_t§simmer_attraction: igraph_real_t§simmer_damping_mult: igraph_real_t

Trait Implementations§

Source§

impl Clone for igraph_layout_drl_options_t

Source§

fn clone(&self) -> igraph_layout_drl_options_t

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for igraph_layout_drl_options_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for igraph_layout_drl_options_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.