#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 |
cv::detail::Graph::Graph | ( | int | num_vertices = 0 | ) |
int cv::detail::Graph::numVertices | ( | ) | const |