Galois::Graph::LC_FileGraph< NodeTy, EdgeTy > Class Template Reference

Local computation graph (i.e., graph structure does not change). More...

#include <FileGraph.h>

Inheritance diagram for Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >:
Galois::Graph::FileGraph

List of all members.

Classes

struct  gNode

Public Member Functions

 LC_FileGraph ()
 ~LC_FileGraph ()
NodeTy & getData (GraphNode N, MethodFlag mflag=ALL)
EdgeTy & getEdgeData (GraphNode src, GraphNode dst, MethodFlag mflag=ALL)
void nodeDataFromFile (const char *filename)
 Loads node data from file.
void emptyNodeData (NodeTy init=NodeTy())
 Initializes node data for the graph to default values.
void prefetch_edgedata (GraphNode N)
void prefetch_neighbors (GraphNode N)

Private Attributes

cache_line_storage< gNode > * NodeData

Detailed Description

template<typename NodeTy, typename EdgeTy>
class Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >

Local computation graph (i.e., graph structure does not change).


Constructor & Destructor Documentation

template<typename NodeTy , typename EdgeTy >
Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::LC_FileGraph (  )  [inline]
template<typename NodeTy , typename EdgeTy >
Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::~LC_FileGraph (  )  [inline]

Member Function Documentation

template<typename NodeTy , typename EdgeTy >
void Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::emptyNodeData ( NodeTy  init = NodeTy()  )  [inline]

Initializes node data for the graph to default values.

template<typename NodeTy , typename EdgeTy >
NodeTy& Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::getData ( GraphNode  N,
MethodFlag  mflag = ALL 
) [inline]
template<typename NodeTy , typename EdgeTy >
EdgeTy& Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::getEdgeData ( GraphNode  src,
GraphNode  dst,
MethodFlag  mflag = ALL 
) [inline]

Reimplemented from Galois::Graph::FileGraph.

template<typename NodeTy , typename EdgeTy >
void Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::nodeDataFromFile ( const char *  filename  )  [inline]

Loads node data from file.

template<typename NodeTy , typename EdgeTy >
void Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::prefetch_edgedata ( GraphNode  N  )  [inline]

Reimplemented from Galois::Graph::FileGraph.

template<typename NodeTy , typename EdgeTy >
void Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::prefetch_neighbors ( GraphNode  N  )  [inline]

Member Data Documentation

template<typename NodeTy , typename EdgeTy >
cache_line_storage<gNode>* Galois::Graph::LC_FileGraph< NodeTy, EdgeTy >::NodeData [private]

The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3