reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
113 static bf_iterator begin(const GraphT &G) { 114 return bf_iterator(GT::getEntryNode(G)); 117 static bf_iterator end(const GraphT &G) { return bf_iterator(); } 117 static bf_iterator end(const GraphT &G) { return bf_iterator(); } 119 bool operator==(const bf_iterator &RHS) const { 123 bool operator!=(const bf_iterator &RHS) const { return !(*this == RHS); } 132 bf_iterator &operator++() { // Pre-increment 137 bf_iterator operator++(int) { // Post-increment 138 bf_iterator ItCopy = *this; 147 template <class T> bf_iterator<T> bf_begin(const T &G) { 148 return bf_iterator<T>::begin(G); 151 template <class T> bf_iterator<T> bf_end(const T &G) { 152 return bf_iterator<T>::end(G); 156 template <class T> iterator_range<bf_iterator<T>> breadth_first(const T &G) {unittests/ADT/BreadthFirstIteratorTest.cpp
18 typedef bf_iterator<Graph<4>> BFIter; 43 typedef bf_iterator<Graph<4>> BFIter;