BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_Graph_bfs.cpp File Reference
#include "fn_Graph_bfs.hpp"
#include "cl_Queue.hpp"
#include "cl_DynamicBitset.hpp"
Include dependency graph for fn_Graph_bfs.cpp:

Namespaces

namespace  belfem
 USER GUIDES:
namespace  belfem::graph

Functions

index_t belfem::graph::bfs (Graph &aGraph, Vertex *aStart=nullptr)
index_t belfem::graph::bfs (Graph &aGraph)
 Alternative implementation that also handles disconnected graphs by finding the maximum width across all connected components.