1 2 3 #ifndef _SP_SEMANTIC_GRAPH_H_ 4 #define _SP_SEMANTIC_GRAPH_H_ 5 6 #include <iostream> 7 #include <fstream> 8 #include <cmath> 9 #include <mpi.h> 10 #include <vector> 11 #include <iterator> 12 // TR1 includes belong in CombBLAS.h 13 14 #include "SpMat.h" 15 #include "SpTuples.h" 16 #include "SpDCCols.h" 17 #include "CommGrid.h" 18 #include "MPIType.h" 19 #include "LocArr.h" 20 #include "SpDefs.h" 21 #include "Deleter.h" 22 #include "SpHelper.h" 23 #include "SpParHelper.h" 24 #include "FullyDistVec.h" 25 #include "Friends.h" 26 #include "Operations.h" 27 28 namespace combblas { 29 30 template <class IT, class NT, class DER> 31 class SemanticGraph 32 { 33 public: 34 SemanticGraph(IT total_m, IT total_n, const FullyDistVec<IT,IT> & , const FullyDistVec<IT,IT> & , const FullyDistVec<IT,NT> & ); // matlab sparse 35 typename typedef SpParMat < IT, NT, SpDCCols<IT,NT> > PSpMat; // TODO: Convert to 32-bit local indices 36 typename typedef FullyDistVec<IT,NT> PVec; 37 38 private: 39 PSpMat SemMat; 40 PVec SemVec; 41 } 42 43 } 44 45 #endif 46