OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
cv::detail::Graph Class Reference

#include "util.hpp"

Public Member Functions

 Graph (int num_vertices=0)
 
void addEdge (int from, int to, float weight)
 
void create (int num_vertices)
 
template<typename B >
forEach (B body) const
 
int numVertices () const
 
template<typename B >
walkBreadthFirst (int from, B body) const
 

Constructor & Destructor Documentation

cv::detail::Graph::Graph ( int  num_vertices = 0)
inline

Member Function Documentation

void cv::detail::Graph::addEdge ( int  from,
int  to,
float  weight 
)
void cv::detail::Graph::create ( int  num_vertices)
inline
template<typename B >
B cv::detail::Graph::forEach ( body) const
int cv::detail::Graph::numVertices ( ) const
inline
template<typename B >
B cv::detail::Graph::walkBreadthFirst ( int  from,
body 
) const

The documentation for this class was generated from the following file: