6 const T getThisParam(
const std::vector<std::vector<T>>&
params,
size_t index_outer,
size_t index_inner) {
7 if (index_outer >=
params.size())
8 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_outer) +
" is out of range.");
10 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_inner) +
" is out of range.");
11 return params[index_outer][index_inner];
16 if (index_outer >=
params.size())
17 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_outer) +
" is out of range.");
18 params[index_outer].push_back(value);
22 const std::vector<T>& getAllParams(
const std::vector<std::vector<T>>&
params,
size_t index_outer) {
23 if (index_outer >=
params.size())
24 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_outer) +
" is out of range.");
25 return params[index_outer];
std::vector< bool > getAllBricked() const
std::string to_string(const V &value)
void setBricked(bool isBricked)
int getGeographicalId(int theIndex) const
std::vector< std::vector< bool > > boolParams_
std::vector< std::vector< int > > intParams_
bool getBricked(int theIndex) const
std::vector< int > getAllGeographicalIds() const
void setGeographicalId(int geographicalId)
tuple size
Write out results.