16#define fei_file "fei_GraphReducer.cpp"
43 reducer_->addSymmetricGraphIndices(numIndices, indices, diagonal, *
target_);
49 bool prefixLinesWithPoundSign)
51 return(
target_->writeLocalGraph(os, debug, prefixLinesWithPoundSign));
57 return(
target_->writeRemoteGraph(os));
64 return(
target_->gatherFromOverlap());
int addIndices(int row, int len, const int *indices)
fei::SharedPtr< fei::Graph > target_
int addSymmetricIndices(int numIndices, int *indices, bool diagonal=false)
GraphReducer(fei::SharedPtr< fei::Reducer > reducer, fei::SharedPtr< fei::Graph > target)
int writeLocalGraph(FEI_OSTREAM &os, bool debug=false, bool prefixLinesWithPoundSign=true)
fei::SharedPtr< fei::Reducer > reducer_
int writeRemoteGraph(FEI_OSTREAM &os)