#include <Object.h>
|
| | Object (int __nothing=0) |
| |
| | Object (feature_t... types) |
| |
| template<typename t > |
| t | get () const |
| | Get one of the feature values. More...
|
| |
| template<typename t > |
| void | set (t val) |
| | Set a feature value. More...
|
| |
| template<typename t > |
| bool | is (t v) const |
| | Check if this feature dimension is a given value. More...
|
| |
| auto | operator (const Object &o) const |
| |
| bool | operator== (const Object &o) const |
| |
| std::string | string () const |
| |
|
| template<typename... T> |
| static Object< T... > | __sample () |
| | Sample a uniformly random object. This requires our features to end in __count. More...
|
| |
| static Object< feature_t... > | sample () |
| |
template<typename... feature_t>
class Object< feature_t >
- Author
- piantado
- Date
- 02/08/20
◆ Object() [1/2]
template<typename... feature_t>
◆ Object() [2/2]
template<typename... feature_t>
◆ __sample()
template<typename... feature_t>
template<typename... T>
Sample a uniformly random object. This requires our features to end in __count.
◆ get()
template<typename... feature_t>
template<typename t >
| t Object< feature_t >::get |
( |
| ) |
const |
|
inline |
Get one of the feature values.
- Returns
◆ is()
template<typename... feature_t>
template<typename t >
| bool Object< feature_t >::is |
( |
t |
v | ) |
const |
|
inline |
Check if this feature dimension is a given value.
- Parameters
-
- Returns
◆ operator()
template<typename... feature_t>
| auto Object< feature_t >::operator |
( |
const Object< feature_t > & |
o | ) |
const |
|
inline |
◆ operator==()
template<typename... feature_t>
◆ sample()
template<typename... feature_t>
◆ set()
template<typename... feature_t>
template<typename t >
Set a feature value.
- Parameters
-
◆ string()
template<typename... feature_t>
| std::string Object< feature_t >::string |
( |
| ) |
const |
|
inline |
◆ feature
template<typename... feature_t>
| std::tuple<feature_t...> Object< feature_t >::feature |
The documentation for this class was generated from the following file: