MDP Toolbox for MATLAB

mdp_verbose, mdp_silent

Defines verbose or silent running mode.

Syntax

mdp_verbose
mdp_silent

Description

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.

Example
Effect of the verbose mode, running the function mdp_policy_iteration.
>> 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.4419
   36.0465

>> mdp_silent
>> V = mdp_policy_iteration(P, R, 0.9)
V =
   42.4419
   36.0465


MDP Toolbox for MATLAB


MDPtoolbox/documentation/mdp_verbose_silent.html
Page created on July 31, 2001. Last update on August 31, 2009.