Soar Kernel
9.3.2 08-06-12
|
#include <iostream>
#include <limits.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
#include "Export.h"
Go to the source code of this file.
Data Structures | |
class | MTRand |
Functions | |
std::ostream & | operator<< (std::ostream &os, const MTRand &mtrand) |
std::istream & | operator>> (std::istream &is, MTRand &mtrand) |
EXPORT double | SoarRand () |
EXPORT double | SoarRand (const double &max) |
EXPORT uint32_t | SoarRandInt () |
EXPORT uint32_t | SoarRandInt (const uint32_t &max) |
EXPORT void | SoarSeedRNG () |
EXPORT void | SoarSeedRNG (const uint32_t seed) |
|
inline |
Definition at line 393 of file soar_rand.h.
References MTRand::left, MTRand::N, MTRand::state, and uint32_t().
|
inline |
Definition at line 402 of file soar_rand.h.
References MTRand::left, MTRand::N, MTRand::pNext, MTRand::state, and uint32_t().
EXPORT double SoarRand | ( | ) |
Definition at line 8 of file soar_rand.cpp.
References MTRand::rand().
Referenced by exploration_boltzmann_select(), exploration_epsilon_greedy_select(), exploration_probabilistically_select(), and rand_float_rhs_function_code().
EXPORT double SoarRand | ( | const double & | max | ) |
Definition at line 12 of file soar_rand.cpp.
References MTRand::rand().
EXPORT uint32_t SoarRandInt | ( | ) |
Definition at line 16 of file soar_rand.cpp.
References MTRand::randInt().
Referenced by exploration_get_highest_q_value_pref(), exploration_randomly_select(), predict_srand_store_snapshot(), and rand_int_rhs_function_code().
Definition at line 20 of file soar_rand.cpp.
References MTRand::randInt().
EXPORT void SoarSeedRNG | ( | ) |
Definition at line 25 of file soar_rand.cpp.
References MTRand::seed().
Referenced by predict_srand_restore_snapshot().
EXPORT void SoarSeedRNG | ( | const uint32_t | seed | ) |