Classes | |
class | FileGraph |
Graph serialized to a file. More... | |
class | LC_FileGraph |
Local computation graph (i.e., graph structure does not change). More... | |
class | LC_FileGraph< NodeTy, void > |
class | LC_FileGraph< void, void > |
struct | VoidWrapper |
Wrapper class to have a valid type on void. More... | |
struct | VoidWrapper< void > |
struct | NodeItem |
Wrapper class to have a valid type on void nodes. More... | |
struct | NodeItem< void > |
struct | EdgeItem |
Wrapper class to have a valid type on void edges. More... | |
struct | EdgeItem< NTy, void > |
class | FirstGraph |
A Graph. More... | |
struct | CompareNodeData |
Typedefs | |
typedef VoidWrapper< void >::unit | GraphUnit |
Short name for unit for use with FirstGraph::createNode for unit node data. | |
Functions | |
template<typename Graph > | |
bool | outputGraph (const char *file, Graph &G) |
Writes graph out to binary file. | |
template<typename Graph > | |
bool | outputTextEdgeData (const char *ofile, Graph &G) |
Writes graph out to an ASCII file. |
typedef VoidWrapper<void>::unit Galois::Graph::GraphUnit |
Short name for unit for use with FirstGraph::createNode for unit node data.
bool Galois::Graph::outputGraph | ( | const char * | file, | |
Graph & | G | |||
) | [inline] |
Writes graph out to binary file.
Does not currently save node data. Does try to make node ids stable by sorting Graph::GraphNodes using NodeData::operator<() first, so if you want nodes to appear in certain order set the node data appropriately.
bool Galois::Graph::outputTextEdgeData | ( | const char * | ofile, | |
Graph & | G | |||
) | [inline] |
Writes graph out to an ASCII file.