function util = util_hints( action, readHints )
% function util = util_hints( action, readHints )
%
% action = hint
%        = do nothing
% readHints = false, true
%
% util \in [-5,+5]
% function util = utility( action, needHhelp, readHints )
%

% doing stuff for the user gets a disruption penalty
util = 0;
if strcmp( action, 'Hint' ), util = util - 1; end;

% help action given will largely depend on whether user reads hints
if readHints == 0,
  if strcmp( action, 'Hint' ), util = util - 4; end;
else
  if strcmp( action, 'Hint' ), util = util + 5; end;
end;
