ComPWA / qrules

Rule-based particle reaction problem solver on a quantum number level
https://qrules.rtfd.io
Apache License 2.0
9 stars 4 forks source link

Formulate graph settings in terms of classes #21

Open redeboer opened 3 years ago

redeboer commented 3 years ago

The StateTransitionManager.prepare_graphs method returns a structure that is not transparent and prone to errors once the user modifies it and plugs into find_solutions. (Modification is actually the reason why it is returned separately first, see Quickstart 1.2.

The type hints that we use for these functions already indicate that some proper class structure would be better here: https://github.com/ComPWA/expertsystem/blob/22fb207f8ee1e2d409ef31734f4839ae12778819/expertsystem/ui/_system_control.py#L37-L39

spflueger commented 3 years ago

This is partially solved by PR ComPWA/expertsystem#278