Introduction - If you have any usage issues, please Google them yourself
Start a free client and terminal dynamic programming, and the reverse indicator function of the minimum calculation algorithm recursive. x is the state variable, a state on behalf of a stage M-function DecisFun (k, x) by the phase k of state variable x obtained the permission of the corresponding decision variable M-function ObjFun (k, x, u) is the phase indicator function, M-function TransFun (k, x, u) is the state transition function, x is the phase in which a k state variables, u is the corresponding decision variable output p_opt from 4 poses, p_opt = [serial number of group Optimal Strategy Group Group optimal trajectory indicator function value group] fval is a column vector, each element of the, respectively, the optimal strategy p_opt group before the end of the corresponding optimal state function x