Learn R Programming

kappalab (version 0.4-0)

game-class: Class "game"

Description

Class representing a game, i.e. a set function vanishing at the empty set (also called non monotonic fuzzy measure).

Arguments

Objects from the Class

Objects can be created by calls to the function game.

Extends

Class set.func, directly. Class superclass.set.func, by class set.func.

See Also

game, as.card.game-methods, Choquet.integral-methods, Mobius-methods, Sipos.integral-methods, Sugeno.integral-methods, pdf.Choquet.unif-methods, cdf.Choquet.unif-methods, expect.Choquet.unif-methods, sd.Choquet.unif-methods, expect.Choquet.norm-methods, sd.Choquet.norm-methods.

Examples

Run this code
## a game (which is a capacity)
mu <- game(c(0,rep(1,15)))

## the attributes of the object
mu@n
mu@data
mu@subsets

## a conversion
as.card.game(mu)

## a transformation
Mobius(mu)
## let us check ...
zeta(Mobius(mu))

## integral calculations 
f <- c(0.2,0.3,0.1,0.7)
Choquet.integral(mu,f)
Sugeno.integral(mu,f)
f <- c(0.2,-0.3,0.1,-0.7)
Sipos.integral(mu,f)

Run the code above in your browser using DataLab