Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::graphs::BindSegmentGraph< Graph > Class Template Reference

Binds the segment parameter of an out-of-core graph so that it can be used in place of a non out-of-core graph. More...

#include <OCGraph.h>

Inheritance diagram for galois::graphs::BindSegmentGraph< Graph >:

Public Types

typedef Graph::GraphNode GraphNode
 
typedef Graph::edge_data_type edge_data_type
 
typedef Graph::node_data_type node_data_type
 
typedef Graph::edge_data_reference edge_data_reference
 
typedef Graph::node_data_reference node_data_reference
 
typedef Graph::edge_iterator edge_iterator
 
typedef Graph::in_edge_iterator in_edge_iterator
 
typedef Graph::iterator iterator
 
typedef Graph::const_iterator const_iterator
 
typedef Graph::local_iterator local_iterator
 
typedef Graph::const_local_iterator const_local_iterator
 

Public Member Functions

 BindSegmentGraph (Graph &g)
 
 BindSegmentGraph (Graph &g, segment_type s)
 
void setSegment (const segment_type &s)
 
node_data_reference getData (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
edge_data_reference getEdgeData (edge_iterator ni, MethodFlag mflag=MethodFlag::UNPROTECTED)
 
GraphNode getEdgeDst (edge_iterator ni)
 
size_t size () const
 
size_t sizeEdges () const
 
iterator begin () const
 
iterator end () const
 
local_iterator local_begin () const
 
local_iterator local_end () const
 
edge_iterator edge_begin (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
edge_iterator edge_end (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
runtime::iterable
< NoDerefIterator
< edge_iterator > > 
edges (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
runtime::iterable
< NoDerefIterator
< edge_iterator > > 
out_edges (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
edge_data_reference getInEdgeData (edge_iterator ni, MethodFlag mflag=MethodFlag::UNPROTECTED)
 
GraphNode getInEdgeDst (in_edge_iterator ni)
 
in_edge_iterator in_edge_begin (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
in_edge_iterator in_edge_end (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
internal::InEdgesIterator
< BindSegmentGraph
in_edges (GraphNode N, MethodFlag mflag=MethodFlag::WRITE)
 
size_t idFromNode (GraphNode N)
 
GraphNode nodeFromId (size_t N)
 

Detailed Description

template<typename Graph>
class galois::graphs::BindSegmentGraph< Graph >

Binds the segment parameter of an out-of-core graph so that it can be used in place of a non out-of-core graph.

Member Typedef Documentation

template<typename Graph >
typedef Graph::const_iterator galois::graphs::BindSegmentGraph< Graph >::const_iterator
template<typename Graph >
typedef Graph::const_local_iterator galois::graphs::BindSegmentGraph< Graph >::const_local_iterator
template<typename Graph >
typedef Graph::edge_data_reference galois::graphs::BindSegmentGraph< Graph >::edge_data_reference
template<typename Graph >
typedef Graph::edge_data_type galois::graphs::BindSegmentGraph< Graph >::edge_data_type
template<typename Graph >
typedef Graph::edge_iterator galois::graphs::BindSegmentGraph< Graph >::edge_iterator
template<typename Graph >
typedef Graph::GraphNode galois::graphs::BindSegmentGraph< Graph >::GraphNode
template<typename Graph >
typedef Graph::in_edge_iterator galois::graphs::BindSegmentGraph< Graph >::in_edge_iterator
template<typename Graph >
typedef Graph::iterator galois::graphs::BindSegmentGraph< Graph >::iterator
template<typename Graph >
typedef Graph::local_iterator galois::graphs::BindSegmentGraph< Graph >::local_iterator
template<typename Graph >
typedef Graph::node_data_reference galois::graphs::BindSegmentGraph< Graph >::node_data_reference
template<typename Graph >
typedef Graph::node_data_type galois::graphs::BindSegmentGraph< Graph >::node_data_type

Constructor & Destructor Documentation

template<typename Graph >
galois::graphs::BindSegmentGraph< Graph >::BindSegmentGraph ( Graph &  g)
inlineexplicit
template<typename Graph >
galois::graphs::BindSegmentGraph< Graph >::BindSegmentGraph ( Graph &  g,
segment_type  s 
)
inline

Member Function Documentation

template<typename Graph >
iterator galois::graphs::BindSegmentGraph< Graph >::begin ( ) const
inline
template<typename Graph >
edge_iterator galois::graphs::BindSegmentGraph< Graph >::edge_begin ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
edge_iterator galois::graphs::BindSegmentGraph< Graph >::edge_end ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
runtime::iterable<NoDerefIterator<edge_iterator> > galois::graphs::BindSegmentGraph< Graph >::edges ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
iterator galois::graphs::BindSegmentGraph< Graph >::end ( ) const
inline
template<typename Graph >
node_data_reference galois::graphs::BindSegmentGraph< Graph >::getData ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
edge_data_reference galois::graphs::BindSegmentGraph< Graph >::getEdgeData ( edge_iterator  ni,
MethodFlag  mflag = MethodFlag::UNPROTECTED 
)
inline
template<typename Graph >
GraphNode galois::graphs::BindSegmentGraph< Graph >::getEdgeDst ( edge_iterator  ni)
inline
template<typename Graph >
edge_data_reference galois::graphs::BindSegmentGraph< Graph >::getInEdgeData ( edge_iterator  ni,
MethodFlag  mflag = MethodFlag::UNPROTECTED 
)
inline
template<typename Graph >
GraphNode galois::graphs::BindSegmentGraph< Graph >::getInEdgeDst ( in_edge_iterator  ni)
inline
template<typename Graph >
size_t galois::graphs::BindSegmentGraph< Graph >::idFromNode ( GraphNode  N)
inline
template<typename Graph >
in_edge_iterator galois::graphs::BindSegmentGraph< Graph >::in_edge_begin ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
in_edge_iterator galois::graphs::BindSegmentGraph< Graph >::in_edge_end ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
internal::InEdgesIterator<BindSegmentGraph> galois::graphs::BindSegmentGraph< Graph >::in_edges ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
local_iterator galois::graphs::BindSegmentGraph< Graph >::local_begin ( ) const
inline
template<typename Graph >
local_iterator galois::graphs::BindSegmentGraph< Graph >::local_end ( ) const
inline
template<typename Graph >
GraphNode galois::graphs::BindSegmentGraph< Graph >::nodeFromId ( size_t  N)
inline
template<typename Graph >
runtime::iterable<NoDerefIterator<edge_iterator> > galois::graphs::BindSegmentGraph< Graph >::out_edges ( GraphNode  N,
MethodFlag  mflag = MethodFlag::WRITE 
)
inline
template<typename Graph >
void galois::graphs::BindSegmentGraph< Graph >::setSegment ( const segment_type &  s)
inline
template<typename Graph >
size_t galois::graphs::BindSegmentGraph< Graph >::size ( ) const
inline
template<typename Graph >
size_t galois::graphs::BindSegmentGraph< Graph >::sizeEdges ( ) const
inline

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