alglib::graph Namespace Reference
Namespaces | |
models | |
Classes | |
class | directed_graph |
class | directed_graph< vertex_t, void, model > |
class | edge_property |
struct | edge_t |
struct | edge_t< vertex_t, void > |
class | undirected_graph |
class | undirected_graph< vertex_t, void, model > |
class | vertex_property |
Functions | |
template<typename GraphType > | |
vertex_property< GraphType, typename GraphType::edge_type::attr_t > | bellman_ford (const GraphType &G, const typename GraphType::vertex_type source) |
template<typename GraphType , typename OutputIter > | |
OutputIter | _single_bfs (const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | single_bfs (const GraphType &G, const typename GraphType::vertex_type &start, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | bfs (const GraphType &G, const typename GraphType::vertex_type &start, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | bfs (const GraphType &G, OutputIter dest) |
template<typename GraphType > | |
vertex_property< GraphType, int > | connected_components (const GraphType &G) |
template<typename GraphType , typename OutputIter > | |
OutputIter | _single_preorder_dfs (const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | single_preorder_dfs (const GraphType &G, const typename GraphType::vertex_type &start, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | _single_postorder_dfs (const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | single_postorder_dfs (const GraphType &G, const typename GraphType::vertex_type &start, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | preorder_dfs (const GraphType &G, const typename GraphType::vertex_type start, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | preorder_dfs (const GraphType &G, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | postorder_dfs (const GraphType &G, const typename GraphType::vertex_type start, OutputIter dest) |
template<typename GraphType , typename OutputIter > | |
OutputIter | postorder_dfs (const GraphType &G, OutputIter dest) |
template<typename vertex_t , typename attr_t > | |
std::ostream & | operator<< (std::ostream &out, const edge_t< vertex_t, attr_t > &e) |
template<typename vertex_t , typename attr_t > | |
edge_t< vertex_t, attr_t > | make_edge (vertex_t from, vertex_t to, attr_t attribute) |
template<typename GraphType , typename OutputIter > | |
OutputIter | topological_order (const GraphType &G, OutputIter dest) |
Function Documentation
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::_single_bfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
vertex_property< GraphType, bool > & | visited, | ||
OutputIter | dest | ||
) |
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::_single_postorder_dfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
vertex_property< GraphType, bool > & | visited, | ||
OutputIter | dest | ||
) |
OutputIter _single_postorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: dfs.h:49
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::_single_preorder_dfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
vertex_property< GraphType, bool > & | visited, | ||
OutputIter | dest | ||
) |
OutputIter _single_preorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: dfs.h:24
template<typename GraphType >
vertex_property<GraphType, typename GraphType::edge_type::attr_t> alglib::graph::bellman_ford | ( | const GraphType & | G, |
const typename GraphType::vertex_type source | |||
) |
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::bfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
OutputIter | dest | ||
) |
OutputIter _single_bfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: bfs.h:20
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::bfs | ( | const GraphType & | G, |
OutputIter | dest | ||
) |
template<typename GraphType >
vertex_property<GraphType, int> alglib::graph::connected_components | ( | const GraphType & | G | ) |
OutputIter single_preorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, OutputIter dest)
Definition: dfs.h:41
template<typename vertex_t , typename attr_t >
edge_t<vertex_t, attr_t> alglib::graph::make_edge | ( | vertex_t | from, |
vertex_t | to, | ||
attr_t | attribute | ||
) |
Definition: dijkstra.cpp:104
template<typename vertex_t , typename attr_t >
std::ostream& alglib::graph::operator<< | ( | std::ostream & | out, |
const edge_t< vertex_t, attr_t > & | e | ||
) |
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::postorder_dfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type start | , | ||
OutputIter | dest | ||
) |
OutputIter _single_postorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: dfs.h:49
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::postorder_dfs | ( | const GraphType & | G, |
OutputIter | dest | ||
) |
OutputIter postorder_dfs(const GraphType &G, OutputIter dest)
Definition: dfs.h:115
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::preorder_dfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type start | , | ||
OutputIter | dest | ||
) |
OutputIter _single_preorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: dfs.h:24
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::preorder_dfs | ( | const GraphType & | G, |
OutputIter | dest | ||
) |
OutputIter preorder_dfs(const GraphType &G, OutputIter dest)
Definition: dfs.h:89
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::single_bfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
OutputIter | dest | ||
) |
OutputIter _single_bfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: bfs.h:20
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::single_postorder_dfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
OutputIter | dest | ||
) |
OutputIter _single_postorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: dfs.h:49
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::single_preorder_dfs | ( | const GraphType & | G, |
const typename GraphType::vertex_type & start | , | ||
OutputIter | dest | ||
) |
OutputIter _single_preorder_dfs(const GraphType &G, const typename GraphType::vertex_type &start, vertex_property< GraphType, bool > &visited, OutputIter dest)
Definition: dfs.h:24
template<typename GraphType , typename OutputIter >
OutputIter alglib::graph::topological_order | ( | const GraphType & | G, |
OutputIter | dest | ||
) |
OutputIter postorder_dfs(const GraphType &G, const typename GraphType::vertex_type start, OutputIter dest)
Definition: dfs.h:95