behaviorsim-rs 0.7.0

Domain-agnostic specification for modeling individual psychology and social dynamics
Documentation
//! State management for behavioral pathways.
//!
//! This module contains types for managing psychological state values,
//! personality, mood, needs, mental health, and other individual state.
//!
//! # Key Types
//!
//! - [`StateValue`] - Core pattern for state dimensions with base, delta, decay
//! - [`Hexaco`] - Six-factor personality model
//! - [`Mood`] - PAD (Pleasure-Arousal-Dominance) affect dimensions
//! - [`Needs`] - Physiological and psychological needs
//! - [`AttachmentStyle`] - Attachment anxiety and avoidance
//! - [`SocialCognition`] - Interpersonal beliefs and perceptions
//! - [`MentalHealth`] - ITS (Interpersonal Theory of Suicide) factors
//! - [`Disposition`] - Behavioral tendencies
//! - [`PersonCharacteristics`] - PPCT person characteristics
//! - [`EntityModelConfig`] - Subsystem activation flags
//! - [`IndividualState`] - Aggregate container for all state

mod attachment_style;
mod demand_characteristics;
mod disposition;
mod entity_model_config;
mod formative;
mod hexaco;
mod individual_state;
mod mental_health;
mod mood;
mod needs;
mod person_characteristics;
mod social_cognition;
mod state_interpreter;
mod state_value;

pub use disposition::Disposition;
pub use demand_characteristics::DemandCharacteristics;
pub use attachment_style::AttachmentStyle;
pub use entity_model_config::EntityModelConfig;
pub use formative::{
    age_plasticity, apply_formative_modifiers, combined_plasticity, cumulative_in_direction,
    effective_base_at, saturation_factor, sensitive_period_modifier, species_plasticity_modifier,
    stability_coefficient, trait_modifier, BaseShiftRecord, CUMULATIVE_CAP, MAX_SINGLE_EVENT_SHIFT,
    SATURATION_CONSTANT, SETTLING_DAYS, SEVERE_SHIFT_RETENTION, SEVERE_SHIFT_THRESHOLD,
};
pub use hexaco::Hexaco;
pub use individual_state::IndividualState;
pub use mental_health::{
    is_ac_present, ITSRiskLevel, MentalHealth, AC_PRESENCE_THRESHOLD,
    HOPELESSNESS_THRESHOLD, ITSConvergence, PB_PRESENT_THRESHOLD, TB_PRESENT_THRESHOLD,
};
pub use mood::Mood;
pub use needs::Needs;
pub use person_characteristics::PersonCharacteristics;
pub use social_cognition::SocialCognition;
pub use state_interpreter::StateInterpreter;
pub use state_value::StateValue;