Aluriak / Aluriak/clyngor

A model for clingo's statistics

Aperta
#23 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug enhancement
Lingua principale
Python
Stelle
37
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As shown [here](https://github.com/Aluriak/clyngor/issues/22#issuecomment-578968899), 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.