set.func.gen: Create objects of class "set.func", "game", or "capacity".

set.funcR Documentation

Create objects of class "set.func", "game", or "capacity".

Description

These functions create objects of class set.func, game, or capacity from objects of class numeric.

Usage

set.func(object)
game(object)
capacity(object)

Arguments

object

An object of class numeric containing the coefficients of the set function in "natural" order. Its length has to be a power of 2.

Value

Return objects of class set.func, game, or capacity.

See Also

capacity-class,
game-class,
set.func-class.

Examples

set.func(-12:3)
game(c(0,rep(-1,15)))
capacity(0:15)

kappalab documentation built on Nov. 8, 2023, 1:07 a.m.