% for only one after combination) % Theta = list of coded (and reduced with constraint) of the elements of % the discernement space % DTheta = list of coded (and reduced with constraint) of the elements of % DTheta % % Output: % expertDecod = containt the structure of the list of decoded **(for human)**
% focal elements and corresponding bba for all the experts % % Copyright (c) 2008 Arnaud Martin nbExp=size(expert,2); for exp=1:nbExp focal=expert(exp).focal; expertDecod(exp).focal=decodingFocal(focal,{'A'},Theta,DTheta); expertDecod(exp).bba=expert(exp).bba; end end

## Function 18 - Decodingfocal Function

function [focalDecod]=decodingFocal(focal,elemDec,Theta,DTheta) % The goal of this function is to decode the focal elements % % [focalDecod]=decodingFocal(focal,elemDec,Theta) % % Inputs: % expert = containt the structure of the list of focal elements after
% combination and corresponding bba for all the experts
% elemDec = the description of the subset of uncoded elements % for decision
% Theta = list of coded (and reduced with constraint) of the % elements of the discernement space % DTheta = list of coded (and reduced with constraint) of the
% elements of DTheta, eventually empty if not necessary % Output: % focalDecod = containt the list of decoded (for human) focal **elements** % % Copyright (c) 2008 Arnaud Martin switch elemDec{1}
case {'F','A','SF','Cm'}
opt=1; case 'S'
opt=0; elemDecC=Theta;