#include <BoxSpaceProvider.h>
Public Member Functions | |
BoxSpaceProvider () | |
virtual | ~BoxSpaceProvider () |
BoxSpaceProvider (const BoxSpaceProvider &)=delete | |
BoxSpaceProvider & | operator= (const BoxSpaceProvider &)=delete |
BoxSpaceProvider (BoxSpaceProvider &&)=delete | |
BoxSpaceProvider & | operator= (BoxSpaceProvider &&)=delete |
const BoxSpace * | getSpace () const |
virtual unsigned int | getDim () const =0 |
virtual void | getMinMax (double *min, double *max) const =0 |
virtual std::vector< std::string > | getNames () const |
Private Attributes | |
BoxSpace * | space |
A class that lazily provides an 1D box space.
Definition at line 43 of file BoxSpaceProvider.h.
Rcs::BoxSpaceProvider::BoxSpaceProvider | ( | ) |
Definition at line 33 of file BoxSpaceProvider.cpp.
|
virtual |
Definition at line 35 of file BoxSpaceProvider.cpp.
|
delete |
|
delete |
|
pure virtual |
Provides the number of elements in the space. Since the BoxSpace object will be cached, this must not change.
Implemented in Rcs::AMIKGeneric, Rcs::ObservationModel, Rcs::AMIntegrate2ndOrder, Rcs::AMIntegrate1stOrder, Rcs::AMDynamicalSystemActivation, Rcs::AMIKControllerActivation, Rcs::AMNormalized, Rcs::AMPlateAngPos, Rcs::AMJointControl, Rcs::ISSBoxLifting, Rcs::ISSBoxShelving, Rcs::ISSBallInTube, Rcs::ISSBallOnPlate, Rcs::ISSMiniGolf, Rcs::ISSMPBlending, Rcs::ISSPlanar3Link, Rcs::ISSPlanarInsert, Rcs::AMPlatePos5D, and Rcs::ISSQuanserQube.
|
pure virtual |
Provides minimum and maximum values for the space.
The passed arrays will be large enough to hold getDim() values.
[out] | min | minimum value storage |
[out] | max | maximum value storage |
Implemented in Rcs::AMIKGeneric, Rcs::ObservationModel, Rcs::AMIntegrate2ndOrder, Rcs::AMIntegrate1stOrder, Rcs::AMDynamicalSystemActivation, Rcs::AMIKControllerActivation, Rcs::AMNormalized, Rcs::AMPlateAngPos, Rcs::AMJointControlAcceleration, Rcs::InitStateSetter, Rcs::ISSBoxLifting, Rcs::ISSBoxShelving, Rcs::AMJointControlPosition, Rcs::ISSBallInTube, Rcs::ISSBallOnPlate, Rcs::ISSMiniGolf, Rcs::ISSMPBlending, Rcs::ISSPlanar3Link, Rcs::ISSPlanarInsert, Rcs::AMPlatePos5D, and Rcs::ISSQuanserQube.
|
virtual |
Provides names for each entry of the space.
These are intended for use in python, i.e., for pandas dataframe column names.
Reimplemented in Rcs::AMIKGeneric, Rcs::ObservationModel, Rcs::AMIntegrate2ndOrder, Rcs::AMIntegrate1stOrder, Rcs::AMDynamicalSystemActivation, Rcs::AMIKControllerActivation, Rcs::AMNormalized, Rcs::AMPlateAngPos, Rcs::AMJointControlPosition, Rcs::ISSBoxLifting, Rcs::ISSBoxShelving, Rcs::ISSBallInTube, Rcs::ISSBallOnPlate, Rcs::ISSMiniGolf, Rcs::ISSMPBlending, Rcs::ISSPlanar3Link, Rcs::ISSPlanarInsert, Rcs::AMPlatePos5D, and Rcs::ISSQuanserQube.
Definition at line 54 of file BoxSpaceProvider.cpp.
const Rcs::BoxSpace * Rcs::BoxSpaceProvider::getSpace | ( | ) | const |
Compute and return the space.
Definition at line 40 of file BoxSpaceProvider.cpp.
|
delete |
|
delete |
|
mutableprivate |
Definition at line 46 of file BoxSpaceProvider.h.