Struct forsyth::Config [−][src]
pub struct Config {
pub cache_decay_power: f32,
pub last_tri_score: f32,
pub valence_boost_scale: f32,
pub valence_boost_power: f32,
}
Expand description
A struct holding the parameters controlling the algorithm
Using Config::default() results in a configuration with the parameters set as suggested by the original paper.
See the paper for further information.
Fields
cache_decay_power: f32
last_tri_score: f32
valence_boost_scale: f32
valence_boost_power: f32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more