pub struct ColonyConfig {
pub signal_decay_rate: f64,
pub signal_removal_threshold: f64,
pub trace_decay_rate: f64,
pub trace_removal_threshold: f64,
pub edge_decay_rate: f64,
pub edge_prune_threshold: f64,
pub staleness_factor: f64,
pub maturation_ticks: u64,
pub max_edge_degree: usize,
pub semantic_wiring: SemanticWiringConfig,
}Expand description
Configuration for colony simulation parameters.
This struct contains all the tunable parameters that were previously hardcoded in Colony::new(). Use with Colony::from_config() to create a colony with custom settings.
Fields§
§signal_decay_rate: f64Rate at which signals decay per tick (default: 0.05).
signal_removal_threshold: f64Threshold below which signals are removed (default: 0.01).
trace_decay_rate: f64Rate at which traces decay per tick (default: 0.02).
trace_removal_threshold: f64Threshold below which traces are removed (default: 0.01).
edge_decay_rate: f64Rate at which edges decay per tick (default: 0.005).
edge_prune_threshold: f64Threshold below which edges are pruned (default: 0.05).
staleness_factor: f64Factor for staleness-based decay (default: 1.5).
maturation_ticks: u64Number of ticks before edges mature and become decay-resistant (default: 50).
max_edge_degree: usizeMaximum number of edges per node before pruning (default: 30).
semantic_wiring: SemanticWiringConfigSemantic wiring configuration.
Trait Implementations§
Source§impl Clone for ColonyConfig
impl Clone for ColonyConfig
Source§fn clone(&self) -> ColonyConfig
fn clone(&self) -> ColonyConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more