Constant dmntk_examples::EX_0042

source ·
pub const EX_0042: &str = r#"
  ┌───────────────────────╥───────────────┬──────────┬───────────────┐
  │ Applicant age         ║     <25       │ [25..60] │      >60      │
  ├───────────────────────╫──────┬────────┼──────────┼────────┬──────┤
  │ Medical history       ║"good"│ "bad"  │     -    │ "good" │"bad" │
  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
  │ Applicant risk rating ║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
  ╞═══════════════════════╬══════╪════════╪══════════╪════════╪══════╡
  │ Additional acceptance ║ No   │   No   │    No    │   No   │ Yes  │
  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
  │ Reference             ║ Rf 0 │  Rf 1  │   Rf 2   │  Rf 3  │ Rf 4 │
  ├───────────────────────╫──────┼────────┼──────────┼────────┼──────┤
  │           U           ║  1   │    2   │     3    │   4    │   5  │
  └───────────────────────╨──────┴────────┴──────────┴────────┴──────┘
% { Applicant age: 20, Medical history: "good" }, "Low"
% { Applicant age: 24, Medical history: "bad"  }, "Medium"
% { Applicant age: 25, Medical history: "good" }, "Medium"
% { Applicant age: 25, Medical history: "bad"  }, "Medium"
% { Applicant age: 60, Medical history: "good" }, "Medium"
% { Applicant age: 60, Medical history: "bad"  }, "Medium"
% { Applicant age: 61, Medical history: "good" }, "Medium"
% { Applicant age: 61, Medical history: "bad"  }, "High"
% { Applicant age: 61, Medical history: "well" }, null
"#;
Expand description

Vertical decision table,

          ORIENTATION: **vertical**
INFORMATION ITEM NAME: no
         OUTPUT-LABEL: yes
  INPUT-OUTPUT-VALUES: no
               OUTPUT: single
          ANNOTATIONS: yes