MATLAB中Reinforcement Learning Toolbox的使用教程1
MATLAB提供了Reinforcement Learning Toolbox可以方便地建立二维基础网格环境、设置起点、目标、障碍,以及各种agent模型1.Q-learning的训练简单实现%% 布置环境硬件GW = createGridWorld(6,6);GW.CurrentState = '[6,1]';GW.TerminalStates = '[2,5]';GW.ObstacleStates = ["[2,3]";"[2,4]";"[3