rnel.tuple
¶
The RNEL evidence tuple (Definition 8.1) and RNEL fusion (Theorem 8.2, Definition 8.4).
Reports
dataclass
¶
Report counts about a proposition x.
t: supporting x; f: against x; c: supporting both (contradictory); v: "x or not x, undetermined"; n: "neither" (ill-posed); extra: further indeterminacy types.
Source code in src/rnel/tuple.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |
RNELTuple
dataclass
¶
(T, C, U, N, G, I_1, ..., F) of Definition 8.1.
Source code in src/rnel/tuple.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |
T
instance-attribute
¶
C
instance-attribute
¶
U
instance-attribute
¶
N
instance-attribute
¶
G
instance-attribute
¶
F
instance-attribute
¶
I = field(default_factory=tuple)
class-attribute
instance-attribute
¶
total
property
¶
as_dict()
¶
Source code in src/rnel/tuple.py
49 50 51 52 | |
to_sl(a=0.5)
¶
Coarsening to SL: T -> b, F -> d, every indeterminacy-type component -> u (retraction if total != 1).
Source code in src/rnel/tuple.py
54 55 56 57 58 | |
rnel_tuple(r, W=DEFAULT_W)
¶
Definition 8.1: every component is its count divided by Sigma = sum of counts + W; G = W / Sigma.
Source code in src/rnel/tuple.py
61 62 63 64 | |
sl_opinion(r, W=DEFAULT_W, a=0.5)
¶
The SL opinion from the same reports, keeping only supporting and opposing counts (Theorem 8.2).
Source code in src/rnel/tuple.py
67 68 69 | |
fused_contradiction(sources, W=DEFAULT_W, a=0.5)
¶
Definition 8.4 for several sources: T, F, G from the fused counts, C = max(C of each source, largest pairwise SL degree of conflict). The total may exceed 1 (paraconsistent).
Source code in src/rnel/tuple.py
72 73 74 75 76 77 78 79 80 81 82 | |