dsntk_examples/decision_tables/mod.rs
1//! # Examples of decision tables defined as Unicode or Markdown text
2//!
3//! File naming convention for horizontal decision tables (rules as rows):
4//!
5//! ```text
6//! ┌────────────── table orientation: h - horizontal (rules as rows)
7//! │ ┌──────────── information item name: 0 - absent, 1 - present
8//! │ │┌─────────── output label: 0 - absent, 1 - present
9//! │ ││┌────────── allowed values: 0 - absent, 1 - present
10//! │ │││┌───────── number of input clauses: 0, 1, 2,...
11//! │ ││││┌──────── number of output clauses: 1, 2,...
12//! │ │││││┌─────── number of annotation clauses: 0, 1, 2,...
13//! H_000010
14//! ```
15//!
16//! File naming convention for vertical decision tables (rules as column):
17//!
18//! ```text
19//! ┌────────────── table orientation: v - vertical (rules as columns)
20//! │ ┌──────────── information item name: 0 - absent, 1 - present
21//! │ │┌─────────── output label: 0 - absent, 1 - present
22//! │ ││┌────────── allowed values: 0 - absent, 1 - present
23//! │ │││┌───────── number of input clauses: 0, 1, 2,...
24//! │ ││││┌──────── number of output clauses: 1, 2,...
25//! │ │││││┌─────── number of annotation clauses: 0, 1, 2,...
26//! V_000010
27//! ```
28
29mod crosstab;
30mod horizontal;
31mod vertical;
32
33pub use crosstab::*;
34pub use horizontal::*;
35pub use vertical::*;