• Iustin Pop's avatar
    Handle correctly offline nodes in cluster scoring · 19777638
    Iustin Pop authored
    This patch changes two things with regard to offline nodes:
      - first, it only calculates the various coefficients across online
      - second, it adds a new score denoting the percentage of instances
    	which live on such nodes
    The first change allows correct score computation in presence of offline
    nodes (whose properties we don't need to take into account), while the
    second change actively evacuates offline nodes.
Cluster.hs 28.4 KB