Aggregation technique for MSK module macrophytes.
msk.macrophytes.2017.addminbonusmalus(u, par)The function returns the aggregated value or utility.
numeric vector of values or utilities to be aggregated.
numeric vector with the following components (n is the number of elements to aggregate):
par[1:n]: weights
par[n+1]: weight of additive aggregation (weight of minimum aggregation is 1-par[n+1])
par[(n+2):(2*n+1)]: indicators -1: malus, +1 bonus, 0 addmin.
Peter Reichert <peter.reichert@eawag.ch>