#include <GlobalDataGeneration.h>
Definition at line 29 of file GlobalDataGeneration.h.
◆ data_offset() [1/2]
◆ data_offset() [2/2]
Return the weight offset of a given bag.
- Note
- The behavior of "data_offset" is undefined if a bag has no weight.
Definition at line 97 of file GlobalDataGeneration.cpp.
98{
99 assert(bag_data_offset_ctx.find(bag) != bag_data_offset_ctx.end());
100 return bag_data_offset_ctx.at(bag);
101}
◆ dims_offset() [1/2]
◆ dims_offset() [2/2]
◆ name_offset() [1/2]
◆ name_offset() [2/2]
The documentation for this struct was generated from the following files: