CluE
1.0
|
Interface to extend a template type to provide discrete (bounded) space {0, ..., n-1}^d features. More...
#include <discreteboundedspace.h>
Public Types | |
typedef VectorType | V |
Public Member Functions | |
virtual DiscreteBoundedSpace < V, size_space > * | clone () const =0 |
virtual V | getVector (std::vector< size_space > coordinates) const =0 |
Returns the vector represented by the given coordinates. More... | |
virtual std::vector< size_space > | getCoordinates (V const &vector) const =0 |
Returns the coordinates of the given vector. More... | |
virtual size_t | dimension () const =0 |
Space dimension. More... | |
virtual size_space | n () const =0 |
Number of discrete coordinates per dimension. More... | |
virtual size_space | uBound () const |
Upper bound = n-1. More... | |
virtual VectorType | origin () const =0 |
Returns the space's origin. More... | |
Interface to extend a template type to provide discrete (bounded) space {0, ..., n-1}^d features.
Definition at line 12 of file discreteboundedspace.h.
typedef VectorType CluE::DiscreteBoundedSpace< VectorType, size_space >::V |
Definition at line 15 of file discreteboundedspace.h.
|
pure virtual |
Implemented in CluE::DiscreteBoundedRealSpaceProvider.
|
pure virtual |
Returns the vector represented by the given coordinates.
Implemented in CluE::DiscreteBoundedRealSpaceProvider.
|
pure virtual |
Returns the coordinates of the given vector.
Implemented in CluE::DiscreteBoundedRealSpaceProvider.
|
pure virtual |
Space dimension.
Implemented in CluE::DiscreteBoundedRealSpaceProvider.
|
pure virtual |
Number of discrete coordinates per dimension.
Implemented in CluE::DiscreteBoundedRealSpaceProvider.
|
inlinevirtual |
Upper bound = n-1.
Definition at line 42 of file discreteboundedspace.h.
|
pure virtual |
Returns the space's origin.
Implemented in CluE::DiscreteBoundedRealSpaceProvider.