Galois::GraphNodeBagPair< BlockSize > Class Template Reference

Stores graph nodes to execute for Ligra executor. More...

#include <GraphNodeBag.h>

List of all members.

Public Types

typedef GraphNodeBag< BlockSize > bag_type

Public Member Functions

 GraphNodeBagPair (size_t n)
GraphNodeBag< BlockSize > & cur ()
GraphNodeBag< BlockSize > & next ()
void swap ()
GraphNodeBag< BlockSize > & operator[] (int i)

Private Attributes

GraphNodeBag< BlockSize > bag1
GraphNodeBag< BlockSize > bag2
int curp

Detailed Description

template<unsigned int BlockSize = 0>
class Galois::GraphNodeBagPair< BlockSize >

Stores graph nodes to execute for Ligra executor.

Unlike GraphNodeBag, this class stores two bags to facilitate bulk-synchronous processing.


Member Typedef Documentation

template<unsigned int BlockSize = 0>
typedef GraphNodeBag<BlockSize> Galois::GraphNodeBagPair< BlockSize >::bag_type

Constructor & Destructor Documentation

template<unsigned int BlockSize = 0>
Galois::GraphNodeBagPair< BlockSize >::GraphNodeBagPair ( size_t  n  )  [inline]

Member Function Documentation

template<unsigned int BlockSize = 0>
GraphNodeBag<BlockSize>& Galois::GraphNodeBagPair< BlockSize >::cur (  )  [inline]
template<unsigned int BlockSize = 0>
GraphNodeBag<BlockSize>& Galois::GraphNodeBagPair< BlockSize >::next (  )  [inline]
template<unsigned int BlockSize = 0>
GraphNodeBag<BlockSize>& Galois::GraphNodeBagPair< BlockSize >::operator[] ( int  i  )  [inline]
template<unsigned int BlockSize = 0>
void Galois::GraphNodeBagPair< BlockSize >::swap (  )  [inline]

Member Data Documentation

template<unsigned int BlockSize = 0>
GraphNodeBag<BlockSize> Galois::GraphNodeBagPair< BlockSize >::bag1 [private]
template<unsigned int BlockSize = 0>
GraphNodeBag<BlockSize> Galois::GraphNodeBagPair< BlockSize >::bag2 [private]
template<unsigned int BlockSize = 0>
int Galois::GraphNodeBagPair< BlockSize >::curp [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1