Fleet  0.0.9
Inference in the LOT
Public Types | Public Member Functions | List of all members
ShapeColorSizeObject Class Reference

#include <ShapeColorSizeObject.h>

Inheritance diagram for ShapeColorSizeObject:
Inheritance graph
[legend]
Collaboration diagram for ShapeColorSizeObject:
Collaboration graph
[legend]

Public Types

using Super = Object< Shape, Color, Size >
 

Public Member Functions

 ShapeColorSizeObject ()
 
 ShapeColorSizeObject (const std::string _shape, const std::string _color, const std::string _size)
 Mainly we just define a constructor which takes strings. More...
 
 ShapeColorSizeObject (const std::string s)
 
void set (const std::string _shape, const std::string _color, const std::string _size)
 
- Public Member Functions inherited from Object< Shape, Color, Size >
 Object (int __nothing=0)
 
 Object (feature_t... types)
 
get () const
 Get one of the feature values. More...
 
void set (t val)
 Set a feature value. More...
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from Object< Shape, Color, Size >
static Object< T... > __sample ()
 Sample a uniformly random object. This requires our features to end in __count. More...
 
static Object< feature_t... > sample ()
 
- Public Attributes inherited from Object< Shape, Color, Size >
std::tuple< feature_t... > feature
 

Detailed Description

Author
Steven Piantadosi
Date
11/09/20

Member Typedef Documentation

◆ Super

Constructor & Destructor Documentation

◆ ShapeColorSizeObject() [1/3]

ShapeColorSizeObject::ShapeColorSizeObject ( )
inline

◆ ShapeColorSizeObject() [2/3]

ShapeColorSizeObject::ShapeColorSizeObject ( const std::string  _shape,
const std::string  _color,
const std::string  _size 
)
inline

Mainly we just define a constructor which takes strings.

Parameters
_shape
_color
_size

◆ ShapeColorSizeObject() [3/3]

ShapeColorSizeObject::ShapeColorSizeObject ( const std::string  s)
inline

Member Function Documentation

◆ set()

void ShapeColorSizeObject::set ( const std::string  _shape,
const std::string  _color,
const std::string  _size 
)
inline

The documentation for this class was generated from the following file: