#include "machine.h" #include "../src/BanditWorld.h" void C2F(successor)(state_t *s, action_t *u) { *s = successor(*u); } void C2F(make_MDP)(state_t *s, uint32_t *seed, int *state_count, int *succ_count ) { *s = make_MDP(*seed, *state_count, *succ_count); } void C2F(close_MDP)() { close_MDP(); } void C2F(act)(action_t *u, state_t *s, reward_t *r) { act(*u, s, r); }