| 
    MachineIntelligenceCore:Algorithms
    
   | 
 
Class representing a random N/E/S/W action. More...
#include <Action2D.hpp>


Public Member Functions | |
| RandomNESWAction () | |
  Public Member Functions inherited from mic::types::NESWAction | |
| NESWAction () | |
| NESWAction (NESW type_) | |
| NESWAction (size_t type_) | |
| void | setAction (NESW type_) | 
  Public Member Functions inherited from mic::types::Action2D< NESW > | |
| virtual | ~Action2D () | 
| NESW | getType () | 
  Public Member Functions inherited from mic::types::Action2DInterface | |
| Action2DInterface () | |
Private Attributes | |
| std::random_device | rd | 
| std::mt19937_64 | rng_mt19937_64 | 
Additional Inherited Members | |
  Public Attributes inherited from mic::types::Action2DInterface | |
| int | dx | 
| Increment according to x axis.  More... | |
| int | dy | 
| Increment according to y axis.  More... | |
  Protected Member Functions inherited from mic::types::Action2D< NESW > | |
| Action2D () | |
  Protected Attributes inherited from mic::types::Action2D< NESW > | |
| NESW | type | 
Class representing a random N/E/S/W action.
Definition at line 188 of file Action2D.hpp.
      
  | 
  inline | 
Default public random NESW action constructor. Randomly selects action type.
Definition at line 193 of file Action2D.hpp.
References mic::types::North, mic::types::Random, rng_mt19937_64, mic::types::NESWAction::setAction(), mic::types::Action2D< NESW >::type, and mic::types::West.

      
  | 
  private | 
Random device used for generation of random numbers.
Definition at line 203 of file Action2D.hpp.
      
  | 
  private | 
Mersenne Twister pseudo-random generator of 32-bit numbers with a state size of 19937 bits.
Definition at line 215 of file Action2D.hpp.
Referenced by RandomNESWAction().