22 #ifndef KINETICIO_REDUNDANCYPROVIDER_HH
23 #define KINETICIO_REDUNDANCYPROVIDER_HH
31 #include <unordered_map>
67 std::vector<unsigned char> table;
69 std::vector<unsigned int> blockIndices;
84 std::string getErrorPattern(
stripes_t &stripes )
const;
94 CodingTable& getCodingTable(
95 const std::string& pattern
105 std::vector<unsigned char> encode_matrix;
107 std::unordered_map<std::string, CodingTable> cache;
RedundancyProvider(const ObjCfg &objcfg)
void compute(stripes_t &stripes)
std::vector< stripe_t > stripes_t
All stripes in a block.