All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Types | Public Member Functions | List of all members
paal::data_structures::graph_metric< Graph, DistanceType, GraphType > Class Template Reference

Adopts boost graph as Metric. More...

#include <graph_metrics.hpp>

Inheritance diagram for paal::data_structures::graph_metric< Graph, DistanceType, GraphType >:
paal::data_structures::array_metric< DistanceType > paal::data_structures::graph_metric_filler_impl< graph_metric_traits< Graph >::graph_tag_type > paal::data_structures::rectangle_array_metric< DistanceType >

Public Types

typedef array_metric
< DistanceType > 
GMBase
 
typedef
graph_metric_filler_impl
< typename graph_metric_traits
< Graph >::graph_tag_type > 
GMFBase
 
- Public Types inherited from paal::data_structures::rectangle_array_metric< DistanceType >
typedef DistanceType DistanceType
 
typedef int VertexType
 

Public Member Functions

 graph_metric (const Graph &g)
 constructor More...
 
- Public Member Functions inherited from paal::data_structures::array_metric< DistanceType >
 array_metric (int N=0)
 constructor More...
 
 array_metric (const OtherMetrics &other, Items &&items)
 constructor from another metric More...
 
int size () const
 returns N More...
 
- Public Member Functions inherited from paal::data_structures::rectangle_array_metric< DistanceType >
 rectangle_array_metric (int N=0, int M=0)
 constructor More...
 
 rectangle_array_metric (const OtherMetrics &other, XRange &&xrange, YRange &&yrange)
 constructor from another metric More...
 
DistanceType operator() (const VertexType &v, const VertexType &w) const
 operator(), valid only when v < N and w < M More...
 
DistanceType & operator() (const VertexType &v, const VertexType &w)
 operator(), valid only when v < N and w < M, nonconst version More...
 
rectangle_array_metricoperator= (const rectangle_array_metric &am)
 operator= More...
 
bool operator== (const rectangle_array_metric &other) const
 operator==
 

Additional Inherited Members

- Protected Types inherited from paal::data_structures::rectangle_array_metric< DistanceType >
typedef boost::multi_array
< DistanceType, DIM_NR
matrix_type
 
- Protected Attributes inherited from paal::data_structures::rectangle_array_metric< DistanceType >
matrix_type m_matrix
 matrix with data
 
- Static Protected Attributes inherited from paal::data_structures::rectangle_array_metric< DistanceType >
static const int DIM_NR
 dimention of multi array
 

Detailed Description

template<typename Graph, typename DistanceType, typename GraphType = typename graph_metric_traits<Graph>::graph_tag_type>
class paal::data_structures::graph_metric< Graph, DistanceType, GraphType >

Adopts boost graph as Metric.

Template Parameters
Graph
DistanceType
GraphType

Definition at line 94 of file graph_metrics.hpp.

Constructor & Destructor Documentation

template<typename Graph , typename DistanceType , typename GraphType = typename graph_metric_traits<Graph>::graph_tag_type>
paal::data_structures::graph_metric< Graph, DistanceType, GraphType >::graph_metric ( const Graph &  g)
inline

constructor

Parameters
g

Definition at line 106 of file graph_metrics.hpp.


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