Skip to content
  • Klaus Aehlig's avatar
    Add data type for abstract statistics · 394a5cb9
    Klaus Aehlig authored
    
    
    Our cluster score is a weighted sum of certain sums and
    standard deviations of node characteristics. When placing
    a single instance, the cluster score of a big number of
    quite similar clusters are computed: that of the original
    cluster with one instance added, for each possible placement.
    To speed up these computations, add an abstract type of
    statistics that allows a potentially more efficient update
    of a single value.
    
    Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
    Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
    394a5cb9