1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! Relationship modeling for behavioral pathways.
//!
//! This module contains types and functions for modeling relationships
//! between entities, including:
//!
//! - Trust decomposition (competence, benevolence, integrity)
//! - Perceived risk assessment
//! - Relationship stages (Stranger -> Intimate)
//! - Shared and directional dimensions
//!
//! # Trust Model
//!
//! Based on Mayer's model, trust is decomposed into:
//!
//! - **Propensity**: The trustor's general willingness to trust (from Entity)
//! - **Trustworthiness**: Perceived competence, benevolence, and integrity of trustee
//! - **Perceived Risk**: Subjective assessment of potential negative consequences
//!
//! # Example
//!
//! ```
//! use behaviorsim_rs::relationship::{Relationship, RelationshipStage};
//! use behaviorsim_rs::types::EntityId;
//! use behaviorsim_rs::enums::Direction;
//!
//! // Create a relationship
//! let alice = EntityId::new("alice").unwrap();
//! let bob = EntityId::new("bob").unwrap();
//!
//! let rel = Relationship::try_between(alice, bob).unwrap()
//! .with_stage(RelationshipStage::Acquaintance);
//!
//! // Access trustworthiness factors
//! let trustworthiness = rel.trustworthiness(Direction::AToB);
//! ```
pub use ;
pub use DirectionalDimensions;
pub use InteractionPattern;
pub use PerceivedRisk;
pub use ;
pub use SharedDimensions;
pub use RelationshipStage;
pub use TrustContext;
pub use TrustDecision;
pub use TrustworthinessFactors;