23 this->numberOfInitialTokens = tokens;
27 return this->numberOfInitialTokens;
36 return capacity.get();
40 return capacity != boost::none;
uint64_t getCapacity() const
Returns the capacity of tokens of this place.
void setName(std::string const &name)
Sets the name of this place.
void setCapacity(boost::optional< uint64_t > const &capacity)
Sets the capacity of tokens of this place.
bool hasRestrictedCapacity() const
uint64_t getID() const
Returns the id of this place.
std::string getName() const
Returns the name of this place.
uint64_t getNumberOfInitialTokens() const
Returns the number of initial tokens of this place.
void setNumberOfInitialTokens(uint64_t tokens)
Sets the number of initial tokens of this place.