perkun
0.0.9
ExperimentalAIlanguage
|
#include <perkun.h>
Public Member Functions | |
collection_of_visible_states (collection_of_variables &v, collection_of_values &w, collection_of_actions &a) | |
void | populate () |
const visible_state * | get (const std::map< variable *, value * > &m) const |
visible_state * | get (const std::map< variable *, value * > &m) |
float | get_payoff (const visible_state *s) |
void | set_payoff (const visible_state *s, float p) |
void | set_payoff (const std::map< variable *, value * > &m, float p) |
void | report (std::ostream &s) const |
void | report_xml (std::ostream &s) const |
const std::list< visible_state * > & | get_list_of_visible_states () const |
std::list< visible_state * > & | get_list_of_visible_states () |
void | make_random_model () |
void | make_random_payoff () |
int | get_amount_of_states () const |
void | test_model () const |
Private Member Functions | |
bool | get_allowed (const std::map< variable *, std::vector< value * >::const_iterator > &m) const |
Private Attributes | |
collection_of_variables & | my_variables |
collection_of_values & | my_values |
collection_of_actions & | my_actions |
std::list< visible_state * > | list_of_visible_states |
std::map< const visible_state *, float > | map_visible_state_to_payoff_value |
A collection of visible states. It contains a list of visible states and the payoff function mapping visible states to float.