CluE
1.0
|
Provides discrete bounded space features for Point. More...
#include <discreteboundedrealspaceprovider.h>
Public Member Functions | |
DiscreteBoundedRealSpaceProvider (size_t dimension, unsigned long long n, Point minimum, double length) | |
virtual DiscreteBoundedRealSpaceProvider * | clone () const |
virtual Point | getVector (std::vector< unsigned long long > coordinates) const |
Returns the vector represented by the given coordinates. More... | |
virtual std::vector< unsigned long long > | getCoordinates (Point const &vector) const |
Returns the coordinates of the given vector. More... | |
virtual size_t | dimension () const |
Space dimension. More... | |
virtual unsigned long long | n () const |
Number of discrete coordinates per dimension. More... | |
virtual Point | origin () const |
Returns the space's origin. More... | |
![]() | |
virtual unsigned long long | uBound () const |
Upper bound = n-1. More... | |
Private Attributes | |
size_t | _dimension |
int | _n |
Point | minimum |
double | length |
std::vector< double > | stepSize |
Additional Inherited Members | |
![]() | |
typedef Point | V |
Provides discrete bounded space features for Point.
Definition at line 15 of file discreteboundedrealspaceprovider.h.
CluE::DiscreteBoundedRealSpaceProvider::DiscreteBoundedRealSpaceProvider | ( | size_t | dimension, |
unsigned long long | n, | ||
Point | minimum, | ||
double | length | ||
) |
Definition at line 10 of file discreteboundedrealspaceprovider.cpp.
|
virtual |
Implements CluE::DiscreteBoundedSpace< Point, unsigned long long >.
Definition at line 20 of file discreteboundedrealspaceprovider.cpp.
|
virtual |
Returns the vector represented by the given coordinates.
Implements CluE::DiscreteBoundedSpace< Point, unsigned long long >.
Definition at line 25 of file discreteboundedrealspaceprovider.cpp.
|
virtual |
Returns the coordinates of the given vector.
Implements CluE::DiscreteBoundedSpace< Point, unsigned long long >.
Definition at line 38 of file discreteboundedrealspaceprovider.cpp.
|
inlinevirtual |
Space dimension.
Implements CluE::DiscreteBoundedSpace< Point, unsigned long long >.
Definition at line 26 of file discreteboundedrealspaceprovider.h.
|
inlinevirtual |
Number of discrete coordinates per dimension.
Implements CluE::DiscreteBoundedSpace< Point, unsigned long long >.
Definition at line 31 of file discreteboundedrealspaceprovider.h.
|
inlinevirtual |
Returns the space's origin.
Implements CluE::DiscreteBoundedSpace< Point, unsigned long long >.
Definition at line 36 of file discreteboundedrealspaceprovider.h.
|
private |
Definition at line 42 of file discreteboundedrealspaceprovider.h.
|
private |
Definition at line 43 of file discreteboundedrealspaceprovider.h.
|
private |
Definition at line 44 of file discreteboundedrealspaceprovider.h.
|
private |
Definition at line 45 of file discreteboundedrealspaceprovider.h.
|
private |
Definition at line 46 of file discreteboundedrealspaceprovider.h.