mobility_io.h File Reference

CPP API: mobility_io.h File Reference
mobility_io.h File Reference
Include dependency graph for mobility_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 

Functions

IOResult< int > mio::count_lines (const std::string &filename)
 Counts lines of txt file. More...
 
IOResult< Eigen::MatrixXd > mio::read_mobility_formatted (const std::string &filename)
 Reads formatted mobility or contact data which is given in columns from_str to_str from_rs to_rs count_abs and separated by tabs. More...
 
IOResult< Eigen::MatrixXd > mio::read_mobility_plain (const std::string &filename)
 Reads txt mobility data or contact which is given by values only and separated by spaces. More...
 
std::vector< std::string > mio::split (const std::string &s, char delimiter)
 Splits string into a Vector of strings according to delimiter. More...