Learn R Programming

Rfmtool (version 5.0.3)

fm.Banzhaf: Banzhaf value computation function

Description

Calculates the Banzhaf indices of input criteria from general fuzzy measure.

Usage

fm.Banzhaf(v,env=NULL)

Value

output

The output is an array of size n, which contain Banzhaf indices of input criteria.

Arguments

v

Fuzzy measure in general representation.

env

Environment variable obtained from fm.Init(n).

Author

Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University

Examples

Run this code
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