|
|
lucid
0.0.1
Lifting-based Uncertain Control Invariant Dynamics
|
Collection of parameter values used in a configurable system or application. More...
#include <ParameterValues.h>
Public Member Functions | |
| ParameterValues (const Parameter parameter, std::vector< double > values) | |
Construct a new ParameterValues object for the given parameter associated with the given values. | |
| ParameterValues (const Parameter parameter, std::vector< int > values) | |
Construct a new ParameterValues object for the given parameter associated with the given values. | |
| ParameterValues (const Parameter parameter, std::vector< Vector > values) | |
Construct a new ParameterValues object for the given parameter associated with the given values. | |
| Parameter | parameter () const |
| Get read-only access to the parameter of the parameter values. | |
| std::size_t | size () const |
| Get read-only access to the size of the parameter values. | |
| const ParameterValuesType & | values () const |
| Get read-only access to the values of the parameter values. | |
| template<IsAnyOf< int, double, Vector > T> | |
| const std::vector< T > & | get () const |
| Get the values of this parameter. | |
| bool | operator== (const ParameterValues &o) const |
| Compare two parameter values objects to determine if they are equal. | |
Private Attributes | |
| Parameter | parameter_ |
| Parameter the values are assigned to. | |
| std::size_t | size_ |
| Number of values assigned to the parameter. | |
| ParameterValuesType | values_ |
| All values assigned to the parameter. | |
Collection of parameter values used in a configurable system or application.
It associates with the same parameter an arbitrarily large number of values. All values must have the same type, but the type can be different for each parameter.
|
inline |
Construct a new ParameterValues object for the given parameter associated with the given values.
| parameter | parameter to set |
| values | all values assigned to the parameter |
|
inline |
Construct a new ParameterValues object for the given parameter associated with the given values.
| parameter | parameter to set |
| values | all values assigned to the parameter |
|
inline |
Construct a new ParameterValues object for the given parameter associated with the given values.
| parameter | parameter to set |
| values | all values assigned to the parameter |
|
inlinenodiscard |
Get the values of this parameter.
| T | type of the value to retrieve |
|
nodiscard |
Compare two parameter values objects to determine if they are equal.
| o | other object to compare against |
|
inlinenodiscard |
Get read-only access to the parameter of the parameter values.
|
inlinenodiscard |
Get read-only access to the size of the parameter values.
|
inlinenodiscard |
Get read-only access to the values of the parameter values.