CMR  1.3.0
Classes | Namespaces | Functions
bipartite_graph_bfs.hpp File Reference
#include <vector>
#include <list>

Go to the source code of this file.

Classes

struct  tu::bipartite_graph_bfs_node
 
struct  tu::bipartite_graph_dimensions
 

Namespaces

 tu
 

Functions

template<typename MatrixType , typename StartNodesContainerType , typename EndNodesContainerType >
bool tu::bipartite_graph_bfs (const MatrixType &matrix, const bipartite_graph_dimensions &dimensions, const StartNodesContainerType &start_nodes, const EndNodesContainerType &end_nodes, bool reach_all, std::vector< bipartite_graph_bfs_node > &result)