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

tolog reifies predicate returns wrong costs #386

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments
Closed

tolog reifies predicate returns wrong costs #386

GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 16, 2015

The current implementation returns for

    reifies(topic, $reified)

a cost of SMALL_RESULT which isn't optimal since it delivers a SINGLE_RESULT

For 

    reifies($reifier, reified)

it returns a cost of FILTER_RESULT which is wrong since it should report 
SINGLE_RESULT as well.

The attached patch fixes both cases

Original issue reported on code.google.com by lars.he...@gmail.com on 21 Apr 2011 at 9:44

Attachments:

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Patch applied in revision 2078. Thank you!

Original comment by lar...@gmail.com on 3 May 2011 at 7:56

  • Changed state: Verified
  • Added labels: Component-Tolog

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Original comment by qsieb...@gmail.com on 27 Jan 2012 at 11:00

  • Added labels: Release5.2.0

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

1 participant