You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a PersistentHugr struct that allows for non-destructive modifications of Hugrs. In other words CQCL/tket2#773 should be moved/generalised to Hugr.
PatchGraph: a whole bunch of Patches that are the result of applying rewrites, possibly conflicting. It's main purpose is to keep Rcs to the Patches that we are interested in during optimisation.
PatchHistory: a subgraph of PatchGraph that only contains non-conflicting rewrites that can be applied to obtain a Hugr.
PersistentHugr: the main object users will actually interact with. Implements HugrView, but is immutable and fully persistent. Is in fact a wrapper around PatchHistory.
Patch: a mostly module-internal struct that are the nodes of the PatchGraph and PatchHistory. It stores the location of an edit within its parent Patches, along with the new subgraph that replaces them. In the first version, the Patch will be a SimpleReplacement.
Create a
PersistentHugr
struct that allows for non-destructive modifications of Hugrs. In other words CQCL/tket2#773 should be moved/generalised to Hugr.This is blocked by
HugrInternals
cannot expose theHugr
, or elseHugrView
must be implementable withoutHugrInternals
(ReplaceHugrInternals::base_hugr
with simpler methods #1926)The text was updated successfully, but these errors were encountered: