33 #ifndef UG_GRAPH_INTERFACE_BIDIR_H
34 #define UG_GRAPH_INTERFACE_BIDIR_H
79 UG_LOG(
"Transpose in bidirectional refresh " << t <<
"\n");
91 return _matrix->num_connections(v);
99 if(
size_t(v)<
_matrix->num_rows()){
100 assert(
size_t(v)<
_matrix->num_rows());
120 if(
size_t(row)<
_matrix->num_rows()){
124 return _matrix->begin_row(row);
128 if(
size_t(row)<
_matrix->num_rows()){
Definition: bidirectional.h:47
BidirectionalMatrix & operator=(BidirectionalMatrix const &o)
Definition: bidirectional.h:62
int in_degree(int v) const
Definition: bidirectional.h:106
int num_cols() const
Definition: bidirectional.h:86
const_row_iterator end_row(int row) const
Definition: bidirectional.h:126
const_row_iterator begin_col(int col) const
Definition: bidirectional.h:135
void refresh()
Definition: bidirectional.h:69
T const * _matrix
Definition: bidirectional.h:151
T _matrix_transpose
Definition: bidirectional.h:152
int num_connections(int v) const
Definition: bidirectional.h:89
const_row_iterator begin_row(int row) const
Definition: bidirectional.h:118
int out_degree(int v) const
Definition: bidirectional.h:97
BidirectionalMatrix(BidirectionalMatrix const &o)
Definition: bidirectional.h:58
T::const_row_iterator const_row_iterator
Definition: bidirectional.h:49
BidirectionalMatrix(T const *m=nullptr)
Definition: bidirectional.h:51
const_row_iterator end_col(int col) const
Definition: bidirectional.h:142
int num_rows() const
Definition: bidirectional.h:83
int degree(int v) const
Definition: bidirectional.h:114
#define UG_LOG(msg)
Definition: log.h:367
#define untested()
Definition: lua_table_handle.cpp:15
int out_degree(int v, ug::BidirectionalMatrix< T > const &M)
Definition: bidirectional_boost.h:76
double get_clock_s()
Definition: stopwatch.h:103
stopwatch class for quickly taking times