Qualia
0.2
|
#include <Action.h>
Public Member Functions | |
ActionProperties (unsigned int dim, const unsigned int *nActions) | |
Class constructor. More... | |
virtual | ~ActionProperties () |
Class destructor. More... | |
unsigned int | dim () const |
Dimension of actions. More... | |
unsigned long | nConflated () const |
Number of conflated actions. More... | |
unsigned int | nActions (int i) const |
Number of possible actions in dimension #i#. More... | |
bool | equals (const ActionProperties &p) const |
Comparison method. More... | |
action_t | random () const |
Returns a random action. More... | |
Public Attributes | |
unsigned int | _dim |
unsigned int * | _nActions |
unsigned long | _nConflated |
Represents a set of properties (basically, action dimension and number of possible actions per dimension) from which specific actions are drawn.
ActionProperties::ActionProperties | ( | unsigned int | dim, |
const unsigned int * | nActions | ||
) |
Class constructor.
|
virtual |
Class destructor.
|
inline |
Dimension of actions.
bool ActionProperties::equals | ( | const ActionProperties & | p | ) | const |
Comparison method.
|
inline |
Number of possible actions in dimension #i#.
|
inline |
Number of conflated actions.
|
inline |
Returns a random action.
unsigned int ActionProperties::_dim |
unsigned int* ActionProperties::_nActions |
unsigned long ActionProperties::_nConflated |