Constant dmntk_examples::EX_0034

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