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
//! 可被存放的「实体」
//!
//! # 📄OpenNARS
//!
//! Data entities that are independently stored
//!
//! * `ShortFloat`: `BudgetValue` (priority/durability/quality) and `TruthValue` (frequency/confidence)
//! * `Stamp`: serial numbers and creation time associated to a TruthValue
//! * `Sentence`: a Term, a TruthValue, and a Stamp. A Sentence can be a Judgement, a Goal, or a Question.
//! * `Task`: a Sentence to be processed.
//! * `TermLink`: built in pair between a compound term and a component term.
//! * `TaskLink`: special TermLink referring to a Task, whose Term equals or contains the current Term.
//! * `Concept`: labeled by a Term, contains a TaskLink bag and a TermLink bag for indirect tasks/beliefs, as well as beliefs/questions/goals directly on the Term.
//! * `Item`: Concept, Task, or TermLink
//!
//! in NARS, each task is processed in two stages:
//!
//! 1. Direct processing by matching, in the concept corresponding to the content, in one step. It happens when the task is inserted into memory.
//! 2. Indirect processing by reasoning, in related concepts and unlimited steps. It happens in each inference cycle.
// 有关「浮点数组」的结构
pub use *;
// 时间戳 `Stamp` | 内有导出宏定义
pub use *;
// 语句 `Sentence`
pub use *;
// 物品 `Item`
pub use *;
// 任务 `Task`
pub use *;
// 链接 | 词项链、任务链 等
pub use *;
// 概念 `Concept`
pub use *;