-
Notifications
You must be signed in to change notification settings - Fork 234
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
How to filter values from temporary set? #2202
Comments
For now, just use GetLink/BindLink. These "search the entire atomspace" only at the conceptual level; in practice, they search only a very tiny part of it, so performance should not be an issue. However you were able to corral
and that should work (modulo optional Even better:
which is a processing pipeline: accepts my-set as input, and places results into "the next stage set". Also BTW, I use AnchorNode for this (i.e.
|
p.s. the advantage of MemberLink vs SetLink is:
|
reply edited, click to see full reply... |
I have the set which is dynamically created. In fact it is returned by
GroundedSchemaNode
. I would like to filter some values from set usingGroundedPredicateNode
as filter.I tried to use the folowing
MapLink
expression but it returns empty set and doesn't callfilter
. Is it intended behavior?Since
MapLink
seems to be the only atom which can perform pattern matching on some set of atoms (not on the whole atomspace) it looks like there is no possibility to make such filtering.The text was updated successfully, but these errors were encountered: