function [population,hc]=step3abc_mod_autotlbo(h,ind,m,population,k,np)
hl=length(ind);
for l=1:np
    hc=zeros(1,m);
    mu=population(l,k+1:k+k);
    for i=1:hl
      c=abs(ind(i)-mu);
      cc=find(c==min(c));
      hc(ind(i))=cc(1);
   end
    
    %dpcount=zeros(1,k)
    cln=0;
    flag=0;
    for i=1:k
        a=[];
        if population(l,i)>0.5
            a=find(hc==i);
        end
        if length(a)==0
            cln=cln+1;
        end            
        if(length(a)>0 &length(a)<2)
            flag=1;
                break
            
        end
        
    end
    
    if flag==1
        mu=(1:k)*m/(k+1);
        population(l,k+1:k+k)=mu;
        
    end
end
            
                