Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::PreorderTraverser< Node, Tree > Class Template Reference

#include <metric_tsp_approx.hpp>

Public Types

typedef std::vector< Node >
::const_iterator 
const_iterator
 

Public Member Functions

 PreorderTraverser (std::vector< Node > &p)
 
void preorder (Node n, const Tree &)
 
void inorder (Node, const Tree &) const
 
void postorder (Node, const Tree &) const
 
const_iterator begin () const
 
const_iterator end () const
 

Member Typedef Documentation

template<typename Node, typename Tree>
typedef std::vector<Node>::const_iterator boost::PreorderTraverser< Node, Tree >::const_iterator

Constructor & Destructor Documentation

template<typename Node, typename Tree>
boost::PreorderTraverser< Node, Tree >::PreorderTraverser ( std::vector< Node > &  p)
inline

Member Function Documentation

template<typename Node, typename Tree>
const_iterator boost::PreorderTraverser< Node, Tree >::begin ( ) const
inline
template<typename Node, typename Tree>
const_iterator boost::PreorderTraverser< Node, Tree >::end ( ) const
inline
template<typename Node, typename Tree>
void boost::PreorderTraverser< Node, Tree >::inorder ( Node  ,
const Tree &   
) const
inline
template<typename Node, typename Tree>
void boost::PreorderTraverser< Node, Tree >::postorder ( Node  ,
const Tree &   
) const
inline
template<typename Node, typename Tree>
void boost::PreorderTraverser< Node, Tree >::preorder ( Node  n,
const Tree &   
)
inline

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