8#ifndef FMTYIELDSDEVELOPMENT_Hm_included
9#define FMTYIELDSDEVELOPMENT_Hm_included
11#include <boost/unordered/concurrent_flat_map.hpp>
12#include <boost/dynamic_bitset.hpp>
34 const boost::dynamic_bitset<uint8_t>& p_mask,
const std::string& p_yield);
57 boost::dynamic_bitset<uint8_t> m_resumeMask;
66 bool _equalYield(
const std::string& p_first,
const std::string& p_second)
const noexcept;
71 struct hash<
Core::FMTYieldDevelopment>
75 return (p_yield.
hash());
Development keyed by age, period, mask and yield, used to cache yield values.
Definition: FMTYieldDevelopment.h:23
size_t hash() const
Return the hash of the yield development.
int getPeriod() const
Return the period of the yield development.
bool operator==(const FMTYieldDevelopment &p_yieldDev) const
Equality comparison operator of FMTYieldDevelopment.
FMTYieldDevelopment(int p_age, int p_period, const boost::dynamic_bitset< uint8_t > &p_mask, const std::string &p_yield)
Construct a yield development from an age, a period, a mask and a yield.
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34
Definition: FMTAction.h:463
std::size_t operator()(const Core::FMTYieldDevelopment &p_yield) const
Definition: FMTYieldDevelopment.h:73