CMR  1.3.0
Public Member Functions | List of all members
network_matrix_generator Class Reference

#include <gen_network.hpp>

Inheritance diagram for network_matrix_generator:

Public Member Functions

 network_matrix_generator (size_t height, size_t width, tu::log_level level)
virtual ~network_matrix_generator ()
template<typename MatrixType >
void generate (MatrixType &matrix)
virtual void generate ()
- Public Member Functions inherited from matrix_generator
 matrix_generator (const char *name, size_t height, size_t width, tu::log_level level)
virtual ~matrix_generator ()
void log_generate_start ()
void log_generate_end ()
virtual bool do_pivot (size_t row, size_t column)
template<typename MatrixType >
void permute_rows (MatrixType &matrix)
void permute_rows ()
void permute_columns ()
virtual void randomize ()
virtual void sign ()
virtual void print ()

Additional Inherited Members

- Protected Attributes inherited from matrix_generator
size_t _height
size_t _width
tu::integer_matrix _matrix
boost::mt19937 _rng
tu::log_level _level
const char * _name

Constructor & Destructor Documentation

network_matrix_generator::network_matrix_generator ( size_t  height,
size_t  width,
tu::log_level  level 
virtual network_matrix_generator::~network_matrix_generator ( )

Member Function Documentation

template<typename MatrixType >
void network_matrix_generator::generate ( MatrixType &  matrix)

Create a spanning tree

Choose an edge not in the tree

virtual void network_matrix_generator::generate ( )

Implements matrix_generator.

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