template<typename Node>
Snapshot struct
Snapshot of netlist state for backtracking/undo operations.
| Template parameters | |
|---|---|
| Node | The node type used in the netlist |
This struct stores the external nets and module states at a particular point in time, enabling rollback functionality for partitioning algorithms.
Public variables
- py::set<Node> extern_nets
- Set of external (cut) nets in the netlist.
-
py::dict<index_
t, std::uint8_t> extern_modules - Dictionary mapping module indices to their states (partition assignments)