Open ifndefJOSH opened 2 years ago
Progress report:
Progress report:
-j
option. (464a33236bad815c86eea1012bedfce907e8731f)*Thread
classesStateType
to StateAndThreadIndex
where necessaryThe thread index is stored in an instantiation of storm::storage::sparse::StateStorage<stamina::builder::threads::ControlThread::StateAndThreadIndex<StateType>>
but the builder
class requires the StateStorage<>
to be templated with just StateType
. Not sure how to resolve this. Should I
BitVectorHashmap
s?An additional idea:
Create two classes:
storm::storage::sparse::StateStorage
storm::storage::BitVectorHashMap
Which will also store the thread values, rather than having a StateAndThreadIndex
Other idea to add:
State ownership "expires" based on a LRU cache policy so the owned states hashmap will be a fixed size and thread ownership will be more even. This reduces the need for defragmentation.
Part of the improvements for STAMINA 2.5 involve asynchronous multithreaded exploration of states by multiple threads as requested by the user. Commit c099b02f34c1641ac739596567d4736388ec2c4e creates skeleton for this, but I have a couple of ideas/concerns.