ug4
ug::BidirectionalMatrix< T > Class Template Reference

#include <bidirectional.h>

Public Types

typedef T::const_row_iterator const_row_iterator
 

Public Member Functions

const_row_iterator begin_col (int col) const
 
const_row_iterator begin_row (int row) const
 
 BidirectionalMatrix (BidirectionalMatrix const &o)
 
 BidirectionalMatrix (T const *m=nullptr)
 
int degree (int v) const
 
const_row_iterator end_col (int col) const
 
const_row_iterator end_row (int row) const
 
int in_degree (int v) const
 
int num_cols () const
 
int num_connections (int v) const
 
int num_rows () const
 
BidirectionalMatrixoperator= (BidirectionalMatrix const &o)
 
int out_degree (int v) const
 
void refresh ()
 

Private Attributes

T const * _matrix
 
_matrix_transpose
 

Member Typedef Documentation

◆ const_row_iterator

template<class T >
typedef T::const_row_iterator ug::BidirectionalMatrix< T >::const_row_iterator

Constructor & Destructor Documentation

◆ BidirectionalMatrix() [1/2]

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

◆ BidirectionalMatrix() [2/2]

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

Member Function Documentation

◆ begin_col()

template<class T >
const_row_iterator ug::BidirectionalMatrix< T >::begin_col ( int  col) const
inline

◆ begin_row()

template<class T >
const_row_iterator ug::BidirectionalMatrix< T >::begin_row ( int  row) const
inline

◆ degree()

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

◆ end_col()

template<class T >
const_row_iterator ug::BidirectionalMatrix< T >::end_col ( int  col) const
inline

◆ end_row()

template<class T >
const_row_iterator ug::BidirectionalMatrix< T >::end_row ( int  row) const
inline

◆ in_degree()

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

◆ num_cols()

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

◆ num_connections()

◆ num_rows()

◆ operator=()

◆ out_degree()

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

◆ refresh()

Member Data Documentation

◆ _matrix

◆ _matrix_transpose


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