mooflow.funcs.sum_heads_fg

mooflow.funcs.sum_heads_fg(dict_heads, fitness_group)

calculates the weighted sum of all the indicators in the head dict for one fitness group.

Parameters
dict_headsdict

the heads dict / heads evaluated with areal functions for locations

fitness_groupstr

the desired fitness group

Returns
intthe weighted sum of the indicators