Learn R Programming

TUvalues (version 0.1.0)

banzhaf_appro_vector: Banzhaf Index (approximated)

Description

Calculate the approximated Banzhaf Index based on sampling

Usage

banzhaf_appro_vector(value_func, n_rep)

Value

The Banzhaf Index for each player

Arguments

value_func

The valued function defined on the subsets of the number of players

n_rep

The number of iterations to perform in the approximated calculation