Sei sulla pagina 1di 5

> CLAIMS <- c(468000,810000,234000,288000)

> NAMES <- c("METRO","CABLE AEREO","BUS","TROLE")


> INARRA <- AllRules(1800000,CLAIMS,NAMES)
> summary(INARRA)

Claims of the Agents

METRO CABLE AEREO


468000

810000

BUS
234000

TROLE
288000

Assignments according to the following rules

Proportional
METRO

CEL Talmud

RA

468000 450000 468000 468000 468000

CABLE AEREO
BUS

CEA

810000 450000 810000 810000 810000

234000 450000 234000 234000 234000

TROLE

288000 288000 288000 288000 288000

Inequality Analysis among rules (Gini Index)

Proportional
0.26

CEA
0.07

CEL
0.26

Talmud
0.26

RA
0.26

> plot(INARRA,4)
There were 11 warnings (use warnings() to see them)
> plot(INARRA,2)
There were 11 warnings (use warnings() to see them)
> LorenzRules(INARRA) ## Inequality graph
Warning messages:
1: In axis(side = side, at = at, labels = labels, ...) :
font family not found in Windows font database
2: In title(...) : font family not found in Windows font database
3: In title(...) : font family not found in Windows font database

4: In title(...) : font family not found in Windows font database


5: In strwidth(legend, units = "user", cex = cex, font = text.font) :
font family not found in Windows font database
>

> COALITIONS <c(468000,810000,234000,288000,1278000,702000,756000,1044000,10980


00,522000,1512000,1566000,1332000,990000,1800000)
> LEMAIRE<-DefineGame(4,COALITIONS)
> summary(LEMAIRE)

Characteristic form of the game

Number of agents: 4

Coaliton Value(s)

v(i)
1

468000

810000

234000

288000

12 1278000
13

702000

14

756000

23 1044000
24 1098000
34

522000

123 1512000
124 1566000
134 1332000

234 990000
1234 1800000

> NAMES <- c("METRO","CABLE AEREO","BUES","TROLE")


> LEMAIRESHAPLEY <- ShapleyValue(LEMAIRE,NAMES)
There were 18 warnings (use warnings() to see them)
> NAMES <- c("METRO","CABLE AEREO","BUS","TROLE")
> LEMAIRESHAPLEY <- ShapleyValue(LEMAIRE,NAMES)
There were 18 warnings (use warnings() to see them)
> COALITIONS <c(468000,810000,234000,288000,1278000,702000,756000,1044000,10980
00,522000,1512000,1566000,1332000,990000,1800000)
> > LEMAIRE<-DefineGame(4,COALITIONS)
Error: inesperado '>' in ">"
> > summary(LEMAIRE)
Error: inesperado '>' in ">"
> COALITIONS <c(468000,810000,234000,288000,1278000,702000,756000,1044000,10980
00,522000,1512000,1566000,1332000,990000,1800000)
> LEMAIRE<-DefineGame(4,COALITIONS)
> summary(LEMAIRE)

Characteristic form of the game

Number of agents: 4

Coaliton Value(s)

v(i)
1

468000

810000

234000

288000

12 1278000

13

702000

14

756000

23 1044000
24 1098000
34

522000

123 1512000
124 1566000
134 1332000
234 990000
1234 1800000

> NAMES <- c("METRO","CABLE AEREO","BUS","TROLE")


> LEMAIRESHAPLEY <- ShapleyValue(LEMAIRE,NAMES)
There were 18 warnings (use warnings() to see them)
> CLAIMS <- c(468000,810000,234000,288000)
There were 30 warnings (use warnings() to see them)
> NAMES <- c("METRO","CABLE AEREO","BUS","TROLE")
> INARRA <- AllRules(1800000,CLAIMS,NAMES)
> summary(INARRA)

Claims of the Agents

METRO CABLE AEREO


468000

810000

BUS
234000

TROLE
288000

Assignments according to the following rules

Proportional
METRO

TROLE

CEL Talmud

RA

468000 450000 468000 468000 468000

CABLE AEREO
BUS

CEA

810000 450000 810000 810000 810000

234000 450000 234000 234000 234000


288000 288000 288000 288000 288000

Inequality Analysis among rules (Gini Index)

Proportional

CEA

0.26

0.07

CEL
0.26

Talmud
0.26

RA
0.26

> plot(INARRA,2)
There were 12 warnings (use warnings() to see them)
> plot(INARRA,4)
There were 14 warnings (use warnings() to see them)
> summary(INARRA)

Claims of the Agents

METRO CABLE AEREO


468000

810000

BUS
234000

TROLE
288000

Assignments according to the following rules

Proportional
METRO

CEL Talmud

RA

468000 450000 468000 468000 468000

CABLE AEREO
BUS

CEA

810000 450000 810000 810000 810000

234000 450000 234000 234000 234000

TROLE

288000 288000 288000 288000 288000

Inequality Analysis among rules (Gini Index)

Proportional
0.26

CEA
0.07

CEL
0.26

Talmud
0.26

RA
0.26

> plot(INARRA,2)
There were 12 warnings (use warnings() to see them)

Potrebbero piacerti anche