20 #ifndef GALOIS_WORKLIST_EXTERNALREFERENCE_H
21 #define GALOIS_WORKLIST_EXTERNALREFERENCE_H
23 #include "galois/config.h"
28 template <
typename Container,
bool IgnorePushInitial = false>
34 template <
typename _T>
46 template <
typename Iter>
47 void push(Iter b, Iter e) {
53 template <
typename RangeTy>
55 if (!IgnorePushInitial)
galois::optional< value_type > pop()
pop a value from the queue.
Definition: ExternalReference.h:60
void push(const value_type &val)
push a value onto the queue
Definition: ExternalReference.h:43
void push_initial(const RangeTy &r)
push initial range onto the queue called with the same b and e on each thread
Definition: ExternalReference.h:54
ExternalReference(Container &_wl)
Definition: ExternalReference.h:40
Container::value_type value_type
T is the value type of the WL.
Definition: ExternalReference.h:38
Galois version of boost::optional.
Definition: optional.h:34
void push(Iter b, Iter e)
push a range onto the queue
Definition: ExternalReference.h:47
T value_type
Definition: Executor_ParaMeter.h:111
Definition: ExternalReference.h:29