Factor score computation through abstract statistics
Factor score computation through abstract statistics

Logically separate the computation of the cluster score into
two steps: the computation of the abstract statistics and its
evaluation. In this way, we obtain an abstract value which we
can update instead of recomputing it when considering different
instance placements.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>

dimara/ganeti,leshchevds/ganeti,dimara/ganeti,ganeti/ganeti,bitemyapp/ganeti,leshchevds/ganeti,onponomarev/ganeti,apyrgio/snf-ganeti,andir/ganeti,ganeti-github-testing/ganeti-test-1,ganeti/ganeti,yiannist/ganeti,yiannist/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,apyrgio/ganeti,yiannist/ganeti,apyrgio/ganeti,bitemyapp/ganeti,andir/ganeti,onponomarev/ganeti,leshchevds/ganeti,mbakke/ganeti,andir/ganeti,mbakke/ganeti,grnet/snf-ganeti,grnet/snf-ganeti,apyrgio/snf-ganeti,ganeti/ganeti