![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
Namespaces | |
namespace | concepts |
Classes | |
class | binary_tree |
Binary tree base definition for further specialization. More... | |
class | binary_tree< false, Vertex > |
Forward Binary Tree. More... | |
class | binary_tree< true, Vertex > |
Bidirectional Binary Tree. More... | |
Typedefs | |
template<typename Vertex = std::size_t> | |
using | forward_binary_tree = binary_tree< false, Vertex > |
Forward Binary Tree alias. | |
template<typename Vertex = std::size_t> | |
using | bidirectional_binary_tree = binary_tree< true, Vertex > |
Bidirectional Binary Tree alias. | |
template<typename Graph > | |
using | vertex_descriptor_t = typename graph_traits< Graph >::vertex_descriptor |
Enumerations | |
enum class | visit { pre , in , post } |
Functions | |
template<typename Graph > | |
bool | empty (typename graph_traits< Graph >::vertex_descriptor u, Graph const &) |
template<typename Vertex , typename DFSTreeVisitor > | |
void | depth_first_search (binary_tree< false, Vertex > &g, vertex_descriptor_t< binary_tree< false, Vertex > > s, DFSTreeVisitor &vis) |
performs a depth-first traversal of the vertices in a directed graph | |
template<typename Vertex , typename DFSTreeVisitor > | |
void | depth_first_search (binary_tree< false, Vertex > const &g, vertex_descriptor_t< binary_tree< false, Vertex > > s, DFSTreeVisitor &vis) |
template<typename Vertex , typename DFSTreeVisitor > | |
void | depth_first_search (binary_tree< true, Vertex > &g, vertex_descriptor_t< binary_tree< true, Vertex > > s, DFSTreeVisitor &vis) |
performs a depth-first traversal of the vertices in a directed graph | |
template<typename Vertex , typename DFSTreeVisitor > | |
void | depth_first_search (binary_tree< true, Vertex > const &g, vertex_descriptor_t< binary_tree< true, Vertex > > s, DFSTreeVisitor &vis) |
template<typename Vertex0 , typename Vertex1 > | |
bool | isomorphism (binary_tree< false, Vertex0 > const &g, binary_tree< false, Vertex1 > const &h) |
Detects if there is a 1-to-1 mapping of the vertices in one graph to the vertices of another graph such that adjacency is preserved. | |
template<typename Vertex0 , typename Vertex1 > | |
bool | isomorphism (binary_tree< true, Vertex0 > const &g, binary_tree< true, Vertex1 > const &h) |
Detects if there is a 1-to-1 mapping of the vertices in one graph to the vertices of another graph such that adjacency is preserved. | |
using boost::bidirectional_binary_tree = typedef binary_tree<true, Vertex> |
Bidirectional Binary Tree alias.
Vertex |
using boost::forward_binary_tree = typedef binary_tree<false, Vertex> |
Forward Binary Tree alias.
Vertex |
void boost::depth_first_search | ( | binary_tree< false, Vertex > & | g, |
vertex_descriptor_t< binary_tree< false, Vertex > > | s, | ||
DFSTreeVisitor & | vis | ||
) |
performs a depth-first traversal of the vertices in a directed graph
Vertex | |
DFSTreeVisitor |
g | The binary tree graph |
s | The vertex to start from |
vis | The visitor to apply |
void boost::depth_first_search | ( | binary_tree< true, Vertex > & | g, |
vertex_descriptor_t< binary_tree< true, Vertex > > | s, | ||
DFSTreeVisitor & | vis | ||
) |
performs a depth-first traversal of the vertices in a directed graph
Vertex | |
DFSTreeVisitor |
g | The binary tree graph |
s | The vertex to start from |
vis | The visitor to apply |
bool boost::isomorphism | ( | binary_tree< false, Vertex0 > const & | g, |
binary_tree< false, Vertex1 > const & | h | ||
) |
Detects if there is a 1-to-1 mapping of the vertices in one graph to the vertices of another graph such that adjacency is preserved.
Vertex0 | |
Vertex1 |
g | A binary tree graph |
h | A binary tree graph |
bool boost::isomorphism | ( | binary_tree< true, Vertex0 > const & | g, |
binary_tree< true, Vertex1 > const & | h | ||
) |
Detects if there is a 1-to-1 mapping of the vertices in one graph to the vertices of another graph such that adjacency is preserved.
Vertex0 | |
Vertex1 |
g | A binary tree graph |
h | A binary tree graph |