Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use `std::shared_ptr<Transition>` for Execution
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Fri, 12 May 2023 08:11:33 +0000 (10:11 +0200)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Tue, 16 May 2023 07:51:21 +0000 (09:51 +0200)
commitecccd1691488e7e0644dcf321822c428839e35be
tree41237f5e41e762cbe63221e59bfbf1df3f560ddc
parent7fd6faa16a89c1019a9fe562be79942add51842e
Use `std::shared_ptr<Transition>` for Execution

Prior to this commit, the `Execution` class
maintained raw pointers to the transitions
maintained by the stack used in DFSExplorer.
Instead, we opt for the execution to contain
a collection of shared pointers to facilitate
the creation of partial executions
src/mc/explo/DFSExplorer.cpp
src/mc/explo/odpor/Execution.cpp
src/mc/explo/odpor/Execution.hpp