Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement AlwaysLink (for-all link in pattern matcher) #2288

Merged
merged 11 commits into from
Jul 24, 2019
Merged

Conversation

linas
Copy link
Member

@linas linas commented Jul 24, 2019

Per discussions in #2203 -- The PresentLink in the pattern matcher is a
kind of ThereExistsLink but custom tailored so it can be used with the
patten matcher. So of course, we need something analogous to a ForAllLink.
Since that name is already taken by PLN, for a kind of ScopeLink, it seemed
easier to just introduce the AlwaysLink. It is not clear if a NeverLink is needed.
(because "not always" is "sometimes")

This is just the most basic, bare-bones implementation. More complex uses are
probably buggy.

@linas
Copy link
Member Author

linas commented Jul 24, 2019

Merging. UnifyUTest in the URE is failing, but I believe that is totally
unrelated: the URE unifier does not use the pattern matcher.

@linas linas merged commit 0928e9d into opencog:master Jul 24, 2019
@linas linas deleted the fall branch July 25, 2019 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant