libigl v2.5.0
Loading...
Searching...
No Matches
bfs.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <vector>
#include <Eigen/Sparse>
#include "bfs.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename AType , typename DerivedD , typename DerivedP >
void igl::bfs (const AType &A, const size_t s, Eigen::PlainObjectBase< DerivedD > &D, Eigen::PlainObjectBase< DerivedP > &P)
 Traverse a directed graph represented by an adjacency list using.
 
template<typename AType , typename DType , typename PType >
void igl::bfs (const std::vector< std::vector< AType > > &A, const size_t s, std::vector< DType > &D, std::vector< PType > &P)
 Traverse a directed graph represented by an adjacency list using.
 
template<typename AType , typename DType , typename PType >
void igl::bfs (const Eigen::SparseCompressedBase< AType > &A, const size_t s, std::vector< DType > &D, std::vector< PType > &P)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.