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

PatternMatcher: Implement PresentLink #218

Closed
linas opened this issue Aug 21, 2015 · 4 comments
Closed

PatternMatcher: Implement PresentLink #218

linas opened this issue Aug 21, 2015 · 4 comments

Comments

@linas
Copy link
Member

linas commented Aug 21, 2015

A proposal for PresentLink is given here: http://wiki.opencog.org/w/PresentLink -- it seems like a good idea, based on the long discussions in issue #132

This is marked as an enhancement, and is relatively low priority: there is an easy work-around: one can use an AndLink and wrap multiple arity-1 ChoiceLinks to get the same effect as PresentLink.

I think the wiki page describes PresentLink closely enough that there should be no confusion about how to implement it.

@linas
Copy link
Member Author

linas commented Sep 13, 2015

Pull request #294 provides basic support for using PresentLink inside of a SequentialAndLink. More complex usage cases are not tested and probably won't work right.

@linas
Copy link
Member Author

linas commented Sep 17, 2015

Pull req #302 adds more support

@ngeiswei
Copy link
Member

@linas, I'm closing that issue, I think you'd agree that future problems related to PresentLink should be treated in separate issues.

@linas
Copy link
Member Author

linas commented Oct 10, 2018

Yes. OK. As noted elsewhere, Not Present fails to behave like Absent and fixing this is kind-of tricky (See #1596 and #1882)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants