Defines verbose or silent running mode.
mdp_verbose mdp_silent
mdp_verbose is used to display running information (such as the number of iterations) while solution algorithms are running.
mdp_silent is used to not display such information.
Effect of the verbose mode, running the function . -> P = list() -> P(1) = [ 0.5 0.5; 0.8 0.2 ]; -> P(2) = [ 0 1; 0.1 0.9 ]; -> R = [ 5 10; -1 2 ]; -> mdp_verbose -> V = mdp_policy_iteration(P, R, 0.9) Iteration Number_of_different_actions 1 1 2 0 V = 42.44186 36.046512 -> mdp_silent -> V = mdp_policy_iteration(P, R, 0.9) V = 42.44186 36.046512 | ![]() | ![]() |