Constant dmntk_examples::EX_0061

source ·
pub const EX_0061: &str = r#"
  ┌──────────────────────────────┐
  │ Applicant risk rating        │
  ├───────────────────────┬──────┴──────────────╥───────────────┬──────────┬───────────────┐
  │ Applicant age         │ <25,[25..60],>60    ║     <25       │ [25..60] │      >60      │
  ├───────────────────────┼─────────────────────╫──────┬────────┼──────────┼────────┬──────┤
  │ Medical history       │   "good","bad"      ║"good"│ "bad"  │     -    │ "good" │"bad" │
  ╞═══════════════════════╪═════════════════════╬══════╪════════╪══════════╪════════╪══════╡
  │ Applicant risk rating │"Low","Medium","High"║"Low" │"Medium"│ "Medium" │"Medium"│"High"│
  ├───────────────────────┼─────────────────────╫──────┼────────┼──────────┼────────┼──────┤
  │           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: yes
         OUTPUT-LABEL: yes
  INPUT-OUTPUT-VALUES: yes
               OUTPUT: single
          ANNOTATIONS: no