Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add xbt_assert() for state handle overflow
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Thu, 16 Feb 2023 08:10:23 +0000 (09:10 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Mon, 20 Feb 2023 09:43:53 +0000 (10:43 +0100)
commit573b5f83d54c3137fbedd6597bbef9ed3d4645fc
tree8cf5e70dc240b18d4e05c12c133db76fd20bf950
parentc5a0e326db7483bc9e3caadb7dac5ecfb7d73946
Add xbt_assert() for state handle overflow

With the StateManager, the current implementation
vends out integer handles that are referred to by
each UnfoldingEvent to map it to the appropriate
State.

A better API, however, may be to have a each event
manage its own state. We should verify first that
each UnfoldingEvent object corresponds to a unique
State object, but this may be the best option
src/mc/explo/udpor/Configuration.hpp
src/mc/explo/udpor/EventSet.hpp
src/mc/explo/udpor/StateManager.cpp
src/mc/explo/udpor/UnfoldingEvent.cpp
src/mc/explo/udpor/UnfoldingEvent.hpp