ug4
ug::UndirectedMatrix< T > Class Template Reference

#include <undirected.h>

Classes

class  edge
 
class  map_type
 

Public Types

typedef boost::geometry::concatenate_iterator< boost::SM_adjacency_iterator< value_type >, G_adj_it, int, int > adjacency_iterator
 
typedef boost::adjacency_list< boost::vecS, boost::vecS > G
 
typedef boost::graph_traits< G >::adjacency_iterator G_adj_it
 
typedef boost::graph_traits< T >::adjacency_iterator T_adj_it
 
typedef T::value_type value_type
 

Public Member Functions

adjacency_iterator begin_row (int row) const
 
int degree (int v) const
 
adjacency_iterator end_row (int row) const
 
int in_degree (int v) const
 
int num_cols () const
 
int num_rows () const
 
UndirectedMatrixoperator= (UndirectedMatrix const &o)
 
int out_degree (int v) const
 
void refresh ()
 
 UndirectedMatrix (T const *m=nullptr)
 
 UndirectedMatrix (UndirectedMatrix &&o)=delete
 
 UndirectedMatrix (UndirectedMatrix const &o)
 

Private Types

typedef T::const_row_iterator const_row_iterator
 

Private Attributes

G _extra_fill
 
T const * _matrix
 

Member Typedef Documentation

◆ adjacency_iterator

template<class T >
typedef boost::geometry::concatenate_iterator< boost::SM_adjacency_iterator<value_type>, G_adj_it, int, int> ug::UndirectedMatrix< T >::adjacency_iterator

◆ const_row_iterator

template<class T >
typedef T::const_row_iterator ug::UndirectedMatrix< T >::const_row_iterator
private

◆ G

template<class T >
typedef boost::adjacency_list<boost::vecS, boost::vecS> ug::UndirectedMatrix< T >::G

◆ G_adj_it

template<class T >
typedef boost::graph_traits<G>::adjacency_iterator ug::UndirectedMatrix< T >::G_adj_it

◆ T_adj_it

template<class T >
typedef boost::graph_traits<T>::adjacency_iterator ug::UndirectedMatrix< T >::T_adj_it

◆ value_type

template<class T >
typedef T::value_type ug::UndirectedMatrix< T >::value_type

Constructor & Destructor Documentation

◆ UndirectedMatrix() [1/3]

template<class T >
ug::UndirectedMatrix< T >::UndirectedMatrix ( T const *  m = nullptr)
inlineexplicit

◆ UndirectedMatrix() [2/3]

template<class T >
ug::UndirectedMatrix< T >::UndirectedMatrix ( UndirectedMatrix< T > &&  o)
delete

◆ UndirectedMatrix() [3/3]

template<class T >
ug::UndirectedMatrix< T >::UndirectedMatrix ( UndirectedMatrix< T > const &  o)
inlineexplicit

References untested.

Member Function Documentation

◆ begin_row()

◆ degree()

template<class T >
int ug::UndirectedMatrix< T >::degree ( int  v) const
inline

◆ end_row()

◆ in_degree()

template<class T >
int ug::UndirectedMatrix< T >::in_degree ( int  v) const
inline

◆ num_cols()

template<class T >
int ug::UndirectedMatrix< T >::num_cols ( ) const
inline

◆ num_rows()

template<class T >
int ug::UndirectedMatrix< T >::num_rows ( ) const
inline

◆ operator=()

template<class T >
UndirectedMatrix& ug::UndirectedMatrix< T >::operator= ( UndirectedMatrix< T > const &  o)
inline

◆ out_degree()

template<class T >
int ug::UndirectedMatrix< T >::out_degree ( int  v) const
inline

◆ refresh()

Member Data Documentation

◆ _extra_fill

◆ _matrix


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