1 #ifndef DISCRETEBOUNDEDREALSPACEPROVIDER_H
2 #define DISCRETEBOUNDEDREALSPACEPROVIDER_H
4 #include "../point/point.h"
5 #include "../base/discreteboundedspace.h"
22 virtual Point getVector(std::vector<unsigned long long> coordinates)
const;
31 virtual unsigned long long n()
const
virtual size_t dimension() const
Space dimension.
DiscreteBoundedRealSpaceProvider(size_t dimension, unsigned long long n, Point minimum, double length)
virtual unsigned long long n() const
Number of discrete coordinates per dimension.
virtual DiscreteBoundedRealSpaceProvider * clone() const
Provides discrete bounded space features for Point.
std::vector< double > stepSize
Interface to extend a template type to provide discrete (bounded) space {0, ..., n-1}^d features...
virtual Point origin() const
Returns the space's origin.
virtual Point getVector(std::vector< unsigned long long > coordinates) const
Returns the vector represented by the given coordinates.
Weighted point of arbitrary dimension.
virtual std::vector< unsigned long long > getCoordinates(Point const &vector) const
Returns the coordinates of the given vector.