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
//! Decision Trees Module (Enterprise Only)
//!
//! Provides sequential decision modeling for FP&A:
//! - Decision nodes (choices we control)
//! - Chance nodes (outcomes we don't control)
//! - Terminal nodes with values
//! - Backward induction for optimal path
//! - SciPy/NumPy validated calculations
//!
//! # Example
//!
//! ```yaml
//! decision_tree:
//! name: "R&D Investment Decision"
//!
//! root:
//! type: decision
//! name: "Invest in R&D?"
//! branches:
//! invest:
//! cost: 2000000
//! next: tech_outcome
//! dont_invest:
//! value: 0
//!
//! nodes:
//! tech_outcome:
//! type: chance
//! name: "Technology works?"
//! branches:
//! success:
//! probability: 0.60
//! next: commercialize_decision
//! failure:
//! probability: 0.40
//! value: -2000000
//! ```
//!
//! See ADR-019 for architecture decisions.
// Re-exports
pub use ;
pub use ;