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