%%
%% $Id$
%%
%% Copyright 1989-2010 MINES ParisTech
%%
%% This file is part of PIPS.
%%
%% PIPS is free software: you can redistribute it and/or modify it
%% under the terms of the GNU General Public License as published by
%% the Free Software Foundation, either version 3 of the License, or
%% any later version.
%%
%% PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
%% WARRANTY; without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE.
%%
%% See the GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public License
%% along with PIPS.  If not, see <http://www.gnu.org/licenses/>.
%%
{\small
\begin{alltt}
bool statement\_weakly\_feasible\_p(\Ng{statement} s)
\Ob
  \Cm{load the precondition system sc associated to s}
  \Ng{transformer} p = load\_statement\_precondition(s);
  \Ln{Psysteme} sc = \Ng{predicate\_system}(\Ng{transformer\_relation}(p));
  \Cm{return whether there may be a solution}
  return !\Ln{sc\_empty\_p}(sc);
\Cb
\end{alltt}
}
