| FEI Package Browser (Single Doxygen Collection)
    Version of the Day
    | 
#include <snl_fei_RaggedTable.hpp>

| Public Types | |
| typedef MAP_TYPE | map_type | 
| typedef SET_TYPE | row_type | 
| typedef MAP_TYPE::iterator | iterator | 
| Public Member Functions | |
| RaggedTable (int firstKey, int lastKey) | |
| RaggedTable (const RaggedTable< MAP_TYPE, SET_TYPE > &src) | |
| virtual | ~RaggedTable () | 
| void | addDiagonals (int numIndices, const int *indices) | 
| void | addIndices (int row, int numIndices, const int *indices) | 
| void | addIndices (int numRows, const int *rows, int numIndices, const int *indices) | 
| MAP_TYPE & | getMap () | 
| const MAP_TYPE & | getMap () const | 
| SET_TYPE * | getRow (int row) | 
| iterator | begin () | 
| iterator | end () | 
| bool | equal (const RaggedTable< MAP_TYPE, SET_TYPE > &rhs, bool quiet=true) const | 
|  Public Member Functions inherited from fei::IndexTable | |
| IndexTable () | |
| virtual | ~IndexTable () | 
| Private Attributes | |
| MAP_TYPE | map_ | 
| fei_Pool_alloc< SET_TYPE > | poolAllocatorSet_ | 
| SET_TYPE | dummy | 
Data-structure that accumulates row-column indices into a ragged table, useful for building a matrix-graph and other concepts where keys are mapped to lists of values. This class can use various maps as the underlying data-holders. Useful because specialized maps and sets are defined in fei to take advantage of data that contains significant chunks of contiguous indices.
Definition at line 29 of file snl_fei_RaggedTable.hpp.
| typedef MAP_TYPE snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::map_type | 
alias for MAP_TYPE
Definition at line 41 of file snl_fei_RaggedTable.hpp.
| typedef SET_TYPE snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::row_type | 
alias for SET_TYPE
Definition at line 44 of file snl_fei_RaggedTable.hpp.
| typedef MAP_TYPE::iterator snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::iterator | 
let 'iterator' be an alias for MAP_TYPE's iterator
Definition at line 72 of file snl_fei_RaggedTable.hpp.
| 
 | inline | 
Constructor
Definition at line 90 of file snl_fei_RaggedTable.hpp.
| 
 | inline | 
Copy constructor
Definition at line 99 of file snl_fei_RaggedTable.hpp.
| 
 | virtual | 
Definition at line 106 of file snl_fei_RaggedTable.hpp.
| 
 | inlinevirtual | 
add entries to the diagonal of the table
Implements fei::IndexTable.
Definition at line 218 of file snl_fei_RaggedTable.hpp.
| 
 | inlinevirtual | 
add a list of indices to a specified row
Implements fei::IndexTable.
Definition at line 117 of file snl_fei_RaggedTable.hpp.
References snl_fei::SetTraits< SET_TYPE >::insert(), snl_fei::MapTraits< MAP_TYPE >::insert(), and snl_fei::MapTraits< MAP_TYPE >::lower_bound().
Referenced by fei::VectorSpace::synchronizeSharedRecords(), and test_Tables::test1().
| 
 | inlinevirtual | 
add a list of indices to several specified rows
Implements fei::IndexTable.
Definition at line 147 of file snl_fei_RaggedTable.hpp.
References snl_fei::SetTraits< SET_TYPE >::insert(), snl_fei::MapTraits< MAP_TYPE >::insert(), and snl_fei::MapTraits< MAP_TYPE >::lower_bound().
| 
 | inline | 
obtain internal map attribute
Definition at line 183 of file snl_fei_RaggedTable.hpp.
Referenced by fei::copyToSparseRowGraph(), fei::countNonzeros(), snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::equal(), fei::mirrorCommPattern(), fei::packRaggedTable(), fei::VectorSpace::synchronizeSharedRecords(), and fei::writeToStream().
| 
 | inline | 
obtain internal map attribute
Definition at line 189 of file snl_fei_RaggedTable.hpp.
| 
 | inline | 
obtain specified row from internal map attribute
Definition at line 196 of file snl_fei_RaggedTable.hpp.
| 
 | inline | 
'first' row of table
Definition at line 205 of file snl_fei_RaggedTable.hpp.
Referenced by snl_fei::BlkSizeMsgHandler::do_the_exchange(), and snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::~RaggedTable().
| 
 | inline | 
just past the 'last' row of the table
Definition at line 212 of file snl_fei_RaggedTable.hpp.
Referenced by snl_fei::BlkSizeMsgHandler::do_the_exchange(), and snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::~RaggedTable().
| bool snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::equal | ( | const RaggedTable< MAP_TYPE, SET_TYPE > & | rhs, | 
| bool | quiet = true | ||
| ) | const | 
Test for equality of two RaggedTable objects.
Definition at line 228 of file snl_fei_RaggedTable.hpp.
References FEI_COUT, FEI_ENDL, and snl_fei::RaggedTable< MAP_TYPE, SET_TYPE >::getMap().
Referenced by fei::VectorSpace::synchronizeSharedRecords(), and test_Tables::test1().
| 
 | private | 
Definition at line 84 of file snl_fei_RaggedTable.hpp.
Referenced by snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::begin(), snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::end(), snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::getMap(), snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::getRow(), and snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::RaggedTable().
| 
 | private | 
| 
 | private | 
Definition at line 86 of file snl_fei_RaggedTable.hpp.
Referenced by snl_fei::RaggedTable< MapContig< fei::ctg_set< int > * >, fei::ctg_set< int > >::RaggedTable().
 1.8.5
 1.8.5