class bf_iterator

Declaration

template <class GraphT,
          class SetType = bf_iterator_default_set<
              typename GraphTraits<GraphT>::NodeRef>,
          class GT = GraphTraits<GraphT>>
class bf_iterator { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:48

Templates

GraphT
SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>
GT = GraphTraits<GraphT>

Member Variables

private std::queue<Optional<QueueElement>> VisitQueue
private unsigned int Level = 0

Method Overview

Methods

static bf_iterator<GraphT, SetType, GT> begin(
    const GraphT& G)

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:115

Parameters

const GraphT& G

inline bf_iterator<GraphT, SetType, GT>(
    llvm::bf_iterator::NodeRef Node)

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:70

Parameters

llvm::bf_iterator::NodeRef Node

inline bf_iterator<GraphT, SetType, GT>()

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:79

static bf_iterator<GraphT, SetType, GT> end(
    const GraphT& G)

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:119

Parameters

const GraphT& G

unsigned int getLevel() const

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:145

inline void toNext()

Declared at: llvm/include/llvm/ADT/BreadthFirstIterator.h:81