-
Notifications
You must be signed in to change notification settings - Fork 134
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
time/1 with number of inferences #1039
Comments
On the WAM level, is the number of inferences equivalent to the number of |
More or less, built-in calls need to be added, probably. A property, that I would love to be observed exactly is that failure-slices do indeed have less or equal as many inferences as the original program. |
There is already |
I have filed #1999 for this. However, it does not yet show the inferences when the goal fails. Would it still be useful to add it like this? |
Example: ?- time(member(X, "abc")). % CPU time: 0.000s, 1 inference X = a ; % CPU time: 0.000s, 3 inferences X = b ; % CPU time: 0.000s, 3 inferences X = c. This is an initial step towards addressing mthom#1039.
Currently time/1 only shows
% CPU time: 13.900 seconds
Ideally, also the number of inferences would be ideal. Often time complexity then becomes much easier to estimate.
The text was updated successfully, but these errors were encountered: