the logic of adaptive behavior .
Practical reinforcement learning in continuous spaces