All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
NetworKit::RasterReader Class Reference

Reader for NASA raster data of population. More...

#include <RasterReader.h>

Public Member Functions

 RasterReader (double normalizationFactor)
 
virtual ~RasterReader ()=default
 
std::pair< std::vector< double >
, std::vector< double > > 
read (const std::string &path)
 

Detailed Description

Reader for NASA raster data of population.

Coordinate transformation into the unit square takes place. Within each grid cell, points get a random location.

Constructor & Destructor Documentation

NetworKit::RasterReader::RasterReader ( double  normalizationFactor)
Parameters
[in]Factorby which population per grid cell should be multiplied
virtual NetworKit::RasterReader::~RasterReader ( )
virtualdefault

Member Function Documentation

std::pair< std::vector< double >, std::vector< double > > NetworKit::RasterReader::read ( const std::string &  path)
Parameters
[in]pathPath and name of file to be read.
Returns
Vectors of x- and y-coordinates of the points.

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