Galois::Graph Namespace Reference

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 Documentation

Short name for unit for use with FirstGraph::createNode for unit node data.


Function Documentation

template<typename Graph >
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.

template<typename Graph >
bool Galois::Graph::outputTextEdgeData ( const char *  ofile,
Graph G 
) [inline]

Writes graph out to an ASCII file.

Generated on Tue Aug 2 11:51:29 2011 for Galois by  doxygen 1.6.3