Question originally raised in #277 (comment).
But initial and final can still have size(), right? since they are just sets.
They will have to be unless you want to create a wrapper class SparseStateSet. It would have a member SparseSet, method num_of_states() which would only call return this->sparse_set.size(); and add the boilerplate code for all other functions unmodified, as what we intend to do for StatePost.
However, if we do this for StatePost, we could create the wrapper for sparse set, too. It is the same wrapper as StatePost is for OrdVector<SymbolPost>. Opinions?
Question originally raised in #277 (comment).
They will have to be unless you want to create a wrapper class
SparseStateSet. It would have a memberSparseSet, methodnum_of_states()which would only callreturn this->sparse_set.size();and add the boilerplate code for all other functions unmodified, as what we intend to do forStatePost.However, if we do this for
StatePost, we could create the wrapper for sparse set, too. It is the same wrapper asStatePostis forOrdVector<SymbolPost>. Opinions?