function [z,hasImpMethod] = evaluateCustomImpMethod(impMethod,x,varargin) %#codegen
%% EVALUATECUSTOMIMPMETHOD Evaluates custom implication method.
%
%   [Z,HASIMPMETHOD] = EVALUATECUSTOMIMPMETHOD(IMPMETHOD,X) Evaluates X
%   with IMPMETHOD.
%
%   [Z,HASIMPMETHOD] = EVALUATECUSTOMIMPMETHOD(IMPMETHOD,X,Y) Evaluates X
%   and Y with IMPMETHOD.
%
%   HASIMPMETHOD is true if IMPMETHOD exists.
%
%   Overload this function in a code generation directory for evaluating a
%   custom implication method. 
%
%   Examples
%     function [z,hasImpMethod] = evaluateCustomImpMethod(impMethod,x,varargin) %#codegen
%         z = -ones('like',x);
%         hasImpMethod = false;
%         if isequal(impMethod,uint8('customImpMethod'))
%             z = customImpMethod(x,varargin{:});
%             hasImpMethod(1) = true;
%         end
%     end

%   Copyright 2018-2019 The MathWorks, Inc. 

z = -ones('like',x);
hasImpMethod = false;
end