@@ -85,10 +85,12 @@ Having generated a game, we can check some game properties like convexity
8585
8686```
8787>> cvQ=convex_gameQ(bv)
88- >>
88+
8989cvQ =
9090
91- 1
91+ logical
92+
93+ 1
9294```
9395
9496The returned logical value indicates that this game is indeed convex. This must
@@ -97,11 +99,12 @@ core of the game is non-empty or empty. To see this one needs just to invoke
9799
98100```
99101>> crQ=coreQ(bv)
100- >> Optimization terminated.
101102
102103crQ =
103104
104- 1
105+ logical
106+
107+ 1
105108```
106109
107110which is answered by affirmation. This result confirms our expectation, since each
@@ -113,20 +116,20 @@ Shapley value, which can be computed by
113116
114117```
115118>> sh_v=ShapleyValue(bv)
116- >>
119+
117120sh_v =
118121
119- 23.5175 18.7483 6.4950 44.3008 33.3317 49.6067
122+ 23.5175 18.7483 6.4950 44.3008 33.3317 49.6067
120123```
121124
122125A pre-kernel element can be computed with the function
123126
124127```
125128>> prk_v=PreKernel(bv)
126- >>
129+
127130prk_v =
128131
129- 20.0000 16.0000 5.5000 48.3500 30.0000 56.1500
132+ 20.0000 16.0000 5.5000 48.3500 30.0000 56.1500
130133```
131134
132135which must be identical to the distributional law of justice proposed by the Talmudic
@@ -139,13 +142,13 @@ step the pre-nucleolus
139142
140143nc_bv =
141144
142- 20.0000 16.0000 5.5000 48.3500 30.0000 56.1500
145+ 20.0000 16.0000 5.5000 48.3500 30.0000 56.1500
143146
144147>> pn_bv=PreNucl(bv)
145148
146149pn_bv =
147150
148- 20.0000 16.0000 5.5000 48.3500 30.0000 56.1500
151+ 20.0000 16.0000 5.5000 48.3500 30.0000 56.1500
149152```
150153
151154We observe that both solutions coincide, which must be the case for zero-monotonic games.
@@ -157,39 +160,45 @@ criterion
157160
158161ans =
159162
160- 1
163+ logical
164+
165+ 1
161166
162167>> balancedCollectionQ(bv,nc_bv)
163168
164169ans =
165170
166- 1
171+ logical
172+
173+ 1
167174```
168175
169176In order to verify that the solution found is really a pre-kernel element can be done while typing
170177
171178```
172179>> prkQ=PrekernelQ(bv,prk_v)
173- >>
180+
174181prkQ =
175182
176- 1
183+ logical
184+
185+ 1
177186```
178187
179188Furthermore, with the toolbox we can also compute the modiclus of the game, which
180189takes apart from the primal power also the preventive power of coalitions into account.
181190
182191```
183- >> mnc_v =Modiclus(v )
192+ >> mnc_bv =Modiclus(bv )
184193
185- mnc_v =
194+ mnc_bv =
186195
187196 22.5067 17.7567 7.4533 41.8600 37.1100 49.3133
188197```
189198Checking this solution can be established while invoking a modified Kohlberg criterion.
190199
191200```
192- >> modiclusQ(v,mnc_v )
201+ >> modiclusQ(bv,mnc_bv )
193202
194203ans =
195204
@@ -202,9 +211,9 @@ can rely on the computation of the anti pre-nucleolus as a simple cross-check to
202211that the solution is correct (cf. Meinhardt 2018c).
203212
204213```
205- >> apn_v =Anti_PreNucl(v )
214+ >> apn_bv =Anti_PreNucl(bv )
206215
207- apn_v =
216+ apn_bv =
208217
209218 22.5067 17.7567 7.4533 41.8600 37.1100 49.3133
210219```
@@ -213,7 +222,7 @@ of the modiclus was correct. Moreover, for the class of convex games the modiclu
213222the core, which can be examined through
214223
215224```
216- >> belongToCoreQ(v,mnc_v )
225+ >> belongToCoreQ(bv,mnc_bv )
217226
218227ans =
219228
@@ -229,9 +238,9 @@ and DCP, whereas DCP can also be replaced by DRP (cf. Meinhardt 2018c).
229238Apart of SIVA (Single Valuedness), the toolbox can examine COV
230239
231240```
232- >> COV_mnc_v =COV_propertyQ(v,mnc_v ,'','','MODIC')
241+ >> COV_mnc_bv =COV_propertyQ(bv,mnc_bv ,'','','MODIC')
233242
234- COV_mnc_v =
243+ COV_mnc_bv =
235244
236245 struct with fields:
237246
@@ -245,9 +254,9 @@ as well as EC
245254
246255
247256```
248- >> ECQ_mnc_v =EC_propertyQ(v,mnc_v ,'MODIC')
257+ >> ECQ_mnc_bv =EC_propertyQ(bv,mnc_bv ,'MODIC')
249258
250- ECQ_mnc_v =
259+ ECQ_mnc_bv =
251260
252261 struct with fields:
253262
@@ -260,9 +269,9 @@ and LEDCONS
260269
261270
262271```
263- >> [LEDC_mnc_v, LEDCGPQ_mnc_v ]=Ledcons_propertyQ(v,mnc_v ,'MODIC')
272+ >> [LEDC_mnc_bv, LEDCGPQ_mnc_bv ]=Ledcons_propertyQ(bv,mnc_bv ,'MODIC')
264273
265- LEDC_mnc_v =
274+ LEDC_mnc_bv =
266275
267276 struct with fields:
268277
@@ -271,7 +280,7 @@ LEDC_mnc_v =
271280 ledpropQ: [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]
272281
273282
274- LEDCGPQ_mnc_v =
283+ LEDCGPQ_mnc_bv =
275284
276285 1x4 cell array
277286
@@ -282,9 +291,9 @@ to finally check DCP
282291
283292
284293```
285- >> DCP_mnc_v =DCP_propertyQ(v,mnc_v ,'MODIC')
294+ >> DCP_mnc_bv =DCP_propertyQ(bv,mnc_bv ,'MODIC')
286295
287- DCP_mnc_v =
296+ DCP_mnc_bv =
288297
289298 struct with fields:
290299
@@ -296,9 +305,9 @@ DCP_mnc_v =
296305and DRP
297306
298307```
299- >> DRP_mnc_v =DRP_propertyQ(v,mnc_v ,'MODIC')
308+ >> DRP_mnc_bv =DRP_propertyQ(bv,mnc_bv ,'MODIC')
300309
301- DRP_mnc_v =
310+ DRP_mnc_bv =
302311
303312 struct with fields:
304313
@@ -314,12 +323,12 @@ Moreover, the toolbox offers to the user the possibility to create several game
314323
315324
316325```
317- >> sclv =TuSol(v ,'cv','mattug');
326+ >> scl_bv =TuSol(bv ,'cv','mattug');
318327```
319- Having created the class object ` sclv ` , one can invoke a computation of getting results for some selected solution concepts while executing
328+ Having created the class object ` scl_bv ` , one can invoke a computation of getting results for some selected solution concepts while executing
320329
321330```
322- >> sclv .setAllSolutions
331+ >> scl_bv .setAllSolutions
323332
324333ans =
325334
@@ -352,15 +361,15 @@ which stores apart of the solution concepts also some important data of the game
352361
353362
354363```
355- >> mpk_v=sclv .ModPreKernel
364+ >> mpk_bv=scl_bv .ModPreKernel
356365
357- mpk_v =
366+ mpk_bv =
358367
359368 22.6550 17.9050 7.3050 41.8600 37.1100 49.1650
360369
361- >> mpkQ_v=sclv .ModPrekernelQ(mpk_v )
370+ >> mpkQ_bv=scl_bv .ModPrekernelQ(mpk_bv )
362371
363- mpkQ_v =
372+ mpkQ_bv =
364373
365374 logical
366375
@@ -369,15 +378,15 @@ mpkQ_v =
369378or the proper modified pre-kernel through
370379
371380```
372- >> pmpk_v=sclv .PModPreKernel
381+ >> pmpk_bv=scl_bv .PModPreKernel
373382
374- pmpk_v =
383+ pmpk_bv =
375384
376385 22.2100 17.4600 7.7500 41.8600 37.1100 49.6100
377386
378- >> pmpkQ_v=sclv .PModPrekernelQ(pmpk_v )
387+ >> pmpkQ_bv=scl_bv .PModPrekernelQ(pmpk_bv )
379388
380- pmpkQ_v =
389+ pmpkQ_bv =
381390
382391 logical
383392
0 commit comments