|
FEI
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) | |
| 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 () |
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.
|
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.
|
inlinevirtual |
add a list of indices to several specified rows
Implements fei::IndexTable.
Definition at line 147 of file snl_fei_RaggedTable.hpp.
|
inline |
obtain internal map attribute
Definition at line 183 of file snl_fei_RaggedTable.hpp.
|
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.
|
inline |
just past the 'last' row of the table
Definition at line 212 of file snl_fei_RaggedTable.hpp.
| 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.
1.8.5