Galois::Graph::OCFileGraph Class Reference
Like FileGraph but allows partial loading of the graph.
More...
#include <OCGraph.h>
List of all members.
Classes |
class | Block |
struct | EdgeReference |
struct | Segment |
Public Types |
typedef uint32_t | GraphNode |
typedef
boost::counting_iterator
< uint32_t > | iterator |
typedef
boost::counting_iterator
< uint64_t > | edge_iterator |
typedef uint64_t * | edge_offset_iterator |
typedef Segment | segment_type |
Public Member Functions |
| OCFileGraph () |
| ~OCFileGraph () |
iterator | begin () const |
iterator | end () const |
uint64_t | size () const |
uint64_t | sizeEdges () const |
edge_iterator | edge_begin (GraphNode n) const |
edge_iterator | edge_end (GraphNode n) const |
edge_offset_iterator | edge_offset_begin () const |
edge_offset_iterator | edge_offset_end () const |
template<typename EdgeTy > |
EdgeReference< EdgeTy >::type | getEdgeData (const segment_type &s, edge_iterator it, typename std::enable_if<!std::is_same< void, EdgeTy >::value >::type *=0) |
template<typename EdgeTy > |
EdgeReference< EdgeTy >::type | getEdgeData (const segment_type &s, edge_iterator it, typename std::enable_if< std::is_same< void, EdgeTy >::value >::type *=0) |
GraphNode | getEdgeDst (const segment_type &s, edge_iterator it) |
void | unload (segment_type &s) |
void | load (segment_type &s, edge_iterator begin, edge_iterator end, size_t sizeof_data) |
void | structureFromFile (const std::string &fname) |
Private Attributes |
void * | masterMapping |
int | masterFD |
size_t | masterLength |
uint64_t | numEdges |
uint64_t | numNodes |
uint64_t * | outIdx |
Detailed Description
Like FileGraph but allows partial loading of the graph.
Member Typedef Documentation
Constructor & Destructor Documentation
Galois::Graph::OCFileGraph::OCFileGraph |
( |
|
) |
[inline] |
OCFileGraph::~OCFileGraph |
( |
|
) |
|
Member Function Documentation
iterator Galois::Graph::OCFileGraph::begin |
( |
|
) |
const [inline] |
iterator Galois::Graph::OCFileGraph::end |
( |
|
) |
const [inline] |
template<typename EdgeTy >
template<typename EdgeTy >
uint64_t Galois::Graph::OCFileGraph::size |
( |
|
) |
const [inline] |
uint64_t Galois::Graph::OCFileGraph::sizeEdges |
( |
|
) |
const [inline] |
void OCFileGraph::structureFromFile |
( |
const std::string & |
fname |
) |
|
void Galois::Graph::OCFileGraph::unload |
( |
segment_type & |
s |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following files: