Skip to content

Commit

Permalink
Fix the incorrect inheritance of UnionLink, etc.
Browse files Browse the repository at this point in the history
The pull req opencog#2843 was not quite right.
  • Loading branch information
linas committed Sep 10, 2021
1 parent 300bb10 commit 2dfc1fa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions opencog/atoms/atom_types/atom_types.script
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ SET_LINK <- UNORDERED_LINK
LIST_LINK <- ORDERED_LINK
MEMBER_LINK <- ORDERED_LINK

// Measure-theoretic (probabilistic) versions of AND_LINK, OR_LINK
// These use probabilistic formulas to compute truth values.
// See issue opencog/atomspace#2814 for a discussion.
UNION_LINK <- UNORDERED_LINK
INTERSECTION_LINK <- UNORDERED_LINK
COMPLEMENT_LINK <- UNORDERED_LINK

// ContextLink: Universe of discourse. This behaves like set subtraction
// in that the set of things outside of the context have no bearing on
// the probability.
Expand All @@ -183,13 +190,6 @@ NOT_LINK <- UNORDERED_LINK,CRISP_OUTPUT_LINK,BOOLEAN_LINK
SEQUENTIAL_AND_LINK <- ORDERED_LINK,CRISP_OUTPUT_LINK,BOOLEAN_LINK
SEQUENTIAL_OR_LINK <- ORDERED_LINK,CRISP_OUTPUT_LINK,BOOLEAN_LINK

// Measure-theoretic (probabilistic) versions of AND_LINK, OR_LINK
// These use probabilistic formulas to compute truth values.
// See issue opencog/atomspace#2814 for a discussion.
UNION_LINK <- OR_LINK
INTERSECTION_LINK <- AND_LINK
COMPLEMENT_LINK <- NOT_LINK

// ====================================================================
// Pattern-engine links. These have a special meaning for the pattern
// engine; they are used to specify what is searched for.
Expand Down

0 comments on commit 2dfc1fa

Please sign in to comment.