#include <util.hpp>
Public Member Functions | |
| Graph (int num_vertices=0) | |
| void | create (int num_vertices) |
| int | numVertices () const |
| void | addEdge (int from, int to, float weight) |
| template<typename B > | |
| B | forEach (B body) const |
| template<typename B > | |
| B | walkBreadthFirst (int from, B body) const |
|
inline |
| B cv::detail::Graph::forEach | ( | B | body | ) | const |
|
inline |
| B cv::detail::Graph::walkBreadthFirst | ( | int | from, |
| B | body | ||
| ) | const |