10 #ifndef _fei_SparseRowGraph_hpp_
11 #define _fei_SparseRowGraph_hpp_
13 #include <fei_macros.hpp>
75 return( !(*
this == othergraph) );
88 std::vector<int>::const_iterator rowNumbers_iter =
90 if (rowNumbers_iter == srg.
rowNumbers.end() || *rowNumbers_iter != row) {
94 size_t offset = rowNumbers_iter - srg.
rowNumbers.begin();
virtual ~SparseRowGraph()
int find_row_start(int row, const SparseRowGraph &srg)
bool operator==(const fei::SparseRowGraph &othergraph) const
std::vector< int > rowNumbers
bool operator!=(const fei::SparseRowGraph &othergraph) const
std::vector< int > packedColumnIndices
std::vector< int > rowOffsets
SparseRowGraph(const SparseRowGraph &src)