1#ifndef STORM_STORAGE_GSPN_MARKING_H_
2#define STORM_STORAGE_GSPN_MARKING_H_
20 Marking(uint_fast64_t
const& numberOfPlaces, std::map<uint_fast64_t, uint_fast64_t>
const& numberOfBits, uint_fast64_t
const& numberOfTotalBits);
59 std::shared_ptr<storm::storage::BitVector>
getBitVector()
const;
68 uint_fast64_t numberOfPlaces;
71 std::map<uint_fast64_t, uint_fast64_t> numberOfBits;
std::shared_ptr< storm::storage::BitVector > getBitVector() const
Returns a copy of the bitvector.
uint_fast64_t getNumberOfPlaces() const
Retrieves the number of places for which the tokens are stored.
bool operator==(const Marking &other) const
Overload equality operator.
void setNumberOfTokensAt(uint_fast64_t const &place, uint_fast64_t const &numberOfTokens)
Set the number of tokens for the given place to the given amount.
uint_fast64_t getNumberOfTokensAt(uint_fast64_t const &place) const
Get the number of tokens for the given place.
A bit vector that is internally represented as a vector of 64-bit values.