All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Classes | Namespaces | Macros | Functions
metric_to_bgl.hpp File Reference
#include "paal/data_structures/bimap.hpp"
#include "paal/data_structures/metric/metric_traits.hpp"
#include "paal/data_structures/metric/metric_on_idx.hpp"
#include "paal/utils/functors.hpp"
#include <boost/graph/adjacency_matrix.hpp>
#include <boost/range/adaptor/transformed.hpp>

Go to the source code of this file.

Classes

struct  paal::data_structures::adjacency_matrix< Metric >
 type of adjacency_matrix, for given metric More...
 

Namespaces

 paal
 global namespace of project.
 
 paal::data_structures
 Data Structure namespace.
 

Functions

template<typename Metric , typename Vertices >
adjacency_matrix< Metric >::type paal::data_structures::metric_to_bgl (const Metric &m, Vertices &&vertices)
 we assume that vertices is sequence of values (0, vertices.size()). More...
 
template<typename Metric , typename Vertices >
adjacency_matrix< Metric >::type paal::data_structures::metric_to_bgl_with_index (const Metric &m, Vertices &&vertices, bimap< typename boost::range_value< Vertices >::type > &idx)
 produces graph from metric with index More...
 

Detailed Description

Author
Piotr Wygocki
Version
1.0
Date
2013-02-01

Definition in file metric_to_bgl.hpp.