pub struct TickConfig {
pub routine_check_interval: u64,
pub anomaly_check_interval: u64,
pub suggestion_cache_interval: u64,
pub consolidation_interval: u64,
pub budget_us: u64,
pub activation_eviction_threshold: f64,
pub max_decay_nodes_per_tick: usize,
pub anticipation_threshold: f64,
pub missing_event_hours: f64,
pub stale_item_hours: f64,
pub max_cached_suggestions: usize,
}Expand description
Configuration for the cognitive tick loop.
Fields§
§routine_check_interval: u64Interval in ticks between routine prediction checks.
anomaly_check_interval: u64Interval in ticks between anomaly detection passes.
suggestion_cache_interval: u64Interval in ticks between suggestion cache refreshes.
consolidation_interval: u64Interval in ticks between consolidation passes.
budget_us: u64Maximum time budget per tick in microseconds. Phases are skipped if budget is exhausted.
activation_eviction_threshold: f64Minimum activation threshold — nodes below this are candidates for eviction.
max_decay_nodes_per_tick: usizeMaximum number of nodes to decay per tick (limits CPU usage).
anticipation_threshold: f64Hawkes anticipation threshold multiplier.
missing_event_hours: f64Anomaly: hours without expected event before flagging.
stale_item_hours: f64Anomaly: hours of stale task/goal before flagging.
max_cached_suggestions: usizeMaximum cached suggestions to keep.
Trait Implementations§
Source§impl Clone for TickConfig
impl Clone for TickConfig
Source§fn clone(&self) -> TickConfig
fn clone(&self) -> TickConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TickConfig
impl Debug for TickConfig
Source§impl Default for TickConfig
impl Default for TickConfig
Source§impl<'de> Deserialize<'de> for TickConfig
impl<'de> Deserialize<'de> for TickConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TickConfig
impl RefUnwindSafe for TickConfig
impl Send for TickConfig
impl Sync for TickConfig
impl Unpin for TickConfig
impl UnsafeUnpin for TickConfig
impl UnwindSafe for TickConfig
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