KrisLibrary
1.0.0
|
A cartesian-product control space in which groups of states are controlled by individual control spaces. More...
#include <ControlSpace.h>
Public Types | |
enum | TimeSelection { Uniform, Maximum, Biased } |
Public Types inherited from CSet | |
typedef bool(* | CPredicate) (const Config &) |
Public Member Functions | |
IntegratedControlSet (const std::shared_ptr< CSet > &base, Real dtmax) | |
virtual int | NumDimensions () const |
Returns the number of dimensions this accepts (-1) for all dimensions. | |
virtual bool | Project (Config &x) |
virtual bool | IsSampleable () const |
If true, the Sample() function is implemented. | |
virtual void | Sample (ControlInput &u) |
If IsSampleable is true, draws a config at random from the set. | |
virtual bool | Contains (const ControlInput &u) |
Returns true if this constraint is satisfied at configuration x. | |
Public Member Functions inherited from CSet | |
CSet (CPredicate f) | |
virtual bool | Project (Config &x) |
virtual Optimization::NonlinearProgram * | Numeric () |
virtual bool | IsConvex () const |
If true, the feasible set is convex with respect to the CSpace's interpolation function. | |
virtual Real | ObstacleDistance (const Config &x) |
Public Attributes | |
TimeSelection | timeSelection |
std::shared_ptr< CSet > | base |
Real | dtmax |
Public Attributes inherited from CSet | |
CPredicate | test |
A cartesian-product control space in which groups of states are controlled by individual control spaces.
The default ControlSet for an IntegratedControlSpace