function [action, eu_hint] = get_meu_hints( prRead )
% function [action, eu_hint] = get_meu_hints( prRead )
%

% set default
action = 'None';

% compute expected utility of each action
% EU(A) = Pr(Read) x U(A, Read)
%
eu_hint = prRead * util_hints( 'Hint', 1 ) + ...
          (1 - prRead) * util_hints( 'Hint', 0 );

eu_none = prRead * util_hints( 'None', 1 ) + ...
          (1 - prRead) * util_hints( 'None', 0 );

% override default if hinting is a better action
if eu_hint > eu_none,
  action = 'Hint';
end;
