Qualia  0.2
Public Member Functions | Public Attributes | List of all members
ActionProperties Class Reference

#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
 

Detailed Description

Represents a set of properties (basically, action dimension and number of possible actions per dimension) from which specific actions are drawn.

Constructor & Destructor Documentation

ActionProperties::ActionProperties ( unsigned int  dim,
const unsigned int *  nActions 
)

Class constructor.

ActionProperties::~ActionProperties ( )
virtual

Class destructor.

Member Function Documentation

unsigned int ActionProperties::dim ( ) const
inline

Dimension of actions.

bool ActionProperties::equals ( const ActionProperties p) const

Comparison method.

unsigned int ActionProperties::nActions ( int  i) const
inline

Number of possible actions in dimension #i#.

unsigned long ActionProperties::nConflated ( ) const
inline

Number of conflated actions.

action_t ActionProperties::random ( ) const
inline

Returns a random action.

Member Data Documentation

unsigned int ActionProperties::_dim
unsigned int* ActionProperties::_nActions
unsigned long ActionProperties::_nConflated

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