All Classes Files Functions Variables Pages
Public Member Functions | List of all members
Graph Class Reference

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 ()
 

Detailed Description

TODO: Give description of Graph class and add comments to each function.


The documentation for this class was generated from the following file:

Generated on Thu Oct 11 2018 12:36:17 for by  doxygen 1.8.5