powered by
Calculates the Banzhaf indices of input criteria from general fuzzy measure.
fm.Banzhaf(v,env=NULL)
The output is an array of size n, which contain Banzhaf indices of input criteria.
Fuzzy measure in general representation.
Environment variable obtained from fm.Init(n).
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
env<-fm.Init(3) fm.Banzhaf(c(0, 0.3, 0.5, 0.6, 0.4, 0.8, 0.7, 1),env) env<-fm.Free(env)
Run the code above in your browser using DataLab