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

A model for clingo's statistics #23

Open
Aluriak opened this issue Jan 28, 2020 · 0 comments
Open

A model for clingo's statistics #23

Aluriak opened this issue Jan 28, 2020 · 0 comments

Comments

@Aluriak
Copy link
Owner

Aluriak commented Jan 28, 2020

As shown here, statistics access is different whether clyngor is using clingo module or just parsing its output.

This is due to the fact that using the clingo module, clyngor uses the API objects encapsulating the final statistics, whereas without the clingo module it parses the output, building the model.statistics dictionnary using clingo's stdout.

In order to clyngor to reach production-grade concerning that aspect of clingo, we need to choose a data structure to encapsulate the statistics data (either a dict, or something looking like the object of clingo's API, or something else), and convert the obtained statistics to that data structure.

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