16 :
map_(firstKey, lastKey),
20 int len = lastKey-firstKey+1;
23 for(
int i=0; i<len; ++i) {
24 val.first = firstKey+i;
48 if (mapped_indices == NULL) {
49 throw std::runtime_error(
"RaggedTable<MapContig>, NULL row.");
52 for(
int i=0; i<numIndices; ++i) {
53 mapped_indices->
insert2(indices[i]);
66 for(
int i=0; i<numRows; ++i) {
70 mapped_indices = (*m_iter).second;
71 if (mapped_indices == NULL) {
72 throw std::runtime_error(
"RaggedTable<MapContig>, NULL row.");
75 for(
int j=0; j<numIndices; ++j) {
76 mapped_indices->
insert2(indices[j]);
84 for(
int i=0; i<numIndices; ++i) {
void insert2(const T &item)
std::pair< int, fei::ctg_set< int > * > value_type
fei::ctg_set< int > * mapped_type
fei_Pool_alloc< row_type > poolAllocatorSet_
fei::ctg_set< int > row_type
void addIndices(int row, int numIndices, const int *indices)
map_type::iterator iterator
void addDiagonals(int numIndices, const int *indices)
RaggedTable(int firstKey, int lastKey)