pub struct CognitiveConfig {
pub contradiction_threshold: f32,
pub related_threshold_min: f32,
pub related_threshold_max: f32,
pub interference_threshold: f32,
pub speculative_cache_size: usize,
pub speculative_hit_threshold: f32,
pub max_trajectory_turns: usize,
pub max_pain_warnings: usize,
pub max_phantom_warnings: usize,
}Expand description
Cognitive engine settings.
Fields§
§contradiction_threshold: f32Similarity threshold above which memories are considered contradictory.
Minimum similarity for memories to be considered related.
Maximum similarity for the “related” band (above this is near-duplicate).
interference_threshold: f32Similarity threshold for interference detection.
speculative_cache_size: usizeNumber of entries in the speculative pre-assembly cache.
speculative_hit_threshold: f32Hit rate threshold for the speculative cache to remain active.
max_trajectory_turns: usizeMaximum number of turns to track in a trajectory.
max_pain_warnings: usizeMaximum number of active pain signal warnings.
max_phantom_warnings: usizeMaximum number of active phantom memory warnings.
Trait Implementations§
Source§impl Clone for CognitiveConfig
impl Clone for CognitiveConfig
Source§fn clone(&self) -> CognitiveConfig
fn clone(&self) -> CognitiveConfig
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 CognitiveConfig
impl Debug for CognitiveConfig
Source§impl Default for CognitiveConfig
impl Default for CognitiveConfig
Source§impl<'de> Deserialize<'de> for CognitiveConfig
impl<'de> Deserialize<'de> for CognitiveConfig
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 CognitiveConfig
impl RefUnwindSafe for CognitiveConfig
impl Send for CognitiveConfig
impl Sync for CognitiveConfig
impl Unpin for CognitiveConfig
impl UnsafeUnpin for CognitiveConfig
impl UnwindSafe for CognitiveConfig
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