Skip to content
  • Yann Jacquelet's avatar
    Fix behaviour when empty class appears. Fix methods order of the · 1537be32
    Yann Jacquelet authored
    	kmean1d loop.
    
    	* green/mln/clustering/kmean1d.hh
    	(update_kmean, launch_one_time, is_valid, is_descent_valid): Introduce
    	_is_number_valid which turns to false when empty class appears.
    
    	* green/mln/clustering/kmean1d.hh
    	(launch_one_time): Fix method call order in kmean's loop.
    
    	* green/mln/clustering/kmean1d.hh
    	(launch_n_times): Introduce nb_tries that garanties to be infinite
    	loop safe.
    
    	Update kmean.launch_n_times method call.
    
    	* green/demo/clustering/kmean1d/kmean1d.cc
    	(do_demo): Add comments.
    
    git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4588 4aad255d-cdde-0310-9447-f3009e2ae8c0
    1537be32
To find the state of this project's repository at the time of any of these versions, check out the tags.