What dose this function mean and what is the differentes ?
1 view (last 30 days)
function u = heuristic0(B)
u = sum(B(:) == 0); %the number of bricks that are zero
function u = heuristic1(B)
u = - sum(B(:)); %the negative sum of the values of the bricks
%(remember they are in logarithm, so its not
% the original values being summed)