TODO: Give description of Graph class and add comments to each function. More...
#include <graph.h>
Public Member Functions | |
Graph (std::string filename) | |
Graph (int numNodes, int numEdges) | |
int | getEdgePoint (int i, int j) |
int | getNumNodes () |
int | getNumEdges () |
int | getNodeWeight (int node) |
double | getEdgeWeight (int node, int neighborInd) |
int | getNodeMatch (int node) |
void | setNodeMatch (int node, int val) |
std::vector< int > | getMatchList () |
std::vector< int > | getNeighbors (int node) |
std::vector< double > | getEdges (int node) |
std::vector< int > | reorderGraph (std::vector< int > indMap) |
std::vector< int > | getChildren (int node) |
int | coarsenFrom (Graph &g, std::vector< std::vector< double > > &timeKeeper) |
int | writeEdgeList (std::string filename) |
void | sortNeighborList () |
CSC_MATRIX | computeGraphLaplacian (CSC_MATRIX adj) |
CSC_MATRIX | computeAdjacencyMatrix () |
TODO: Give description of Graph class and add comments to each function.