Skip to content

Commit 74002f4

Browse files
committed
v1.9.0.2
1 parent 94ecf36 commit 74002f4

File tree

184 files changed

+1087
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+1087
-183
lines changed

mama/tug_AdjustedWorthVectors.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
% Date Version Programmer
1919
% ====================================================
2020
% 03/06/2011 0.1 beta hme
21+
% 07/02/2021 1.9 hme
2122
%
2223

2324
% Here we assume that the user has represented the game correctly.
@@ -46,7 +47,11 @@
4647
math('quit')
4748
pause(1)
4849
math('$Version')
49-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
50+
try
51+
math('{Needs["TUG`"] }');
52+
catch
53+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
54+
end
5055
disp('Passing Game to Mathematica ...')
5156
w=gameToMama(v);
5257
math('matlab2math','mg1',w);

mama/tug_AllAntiSurpluses.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
% Date Version Programmer
2020
% ====================================================
2121
% 03/06/2011 0.1 beta hme
22+
% 07/02/2021 1.9 hme
2223
%
2324

2425
% Here we assume that the user has represented the game correctly.
@@ -47,7 +48,11 @@
4748
math('quit')
4849
pause(1)
4950
math('$Version')
50-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
51+
try
52+
math('{Needs["TUG`"] }');
53+
catch
54+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
55+
end
5156
disp('Passing Game to Mathematica ...')
5257
w=gameToMama(v);
5358
math('matlab2math','mg1',w);

mama/tug_AllMaxSurpluses.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
% Date Version Programmer
2323
% ====================================================
2424
% 03/06/2011 0.1 beta hme
25+
% 07/02/2021 1.9 hme
2526
%
2627

2728
% Here we assume that the user has represented the game correctly.
@@ -50,7 +51,11 @@
5051
math('quit')
5152
pause(1)
5253
math('$Version')
53-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
54+
try
55+
math('{Needs["TUG`"] }');
56+
catch
57+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
58+
end
5459
disp('Passing Game to Mathematica ...')
5560
w=gameToMama(v);
5661
math('matlab2math','mg1',w);

mama/tug_AntiPreKernel.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
% Date Version Programmer
1919
% ====================================================
2020
% 03/06/2011 0.1 beta hme
21+
% 07/02/2021 1.9 hme
2122
%
2223

2324
% Here we assume that the user has represented the game correctly.
@@ -49,7 +50,11 @@
4950
math('quit')
5051
pause(1)
5152
math('$Version')
52-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
53+
try
54+
math('{Needs["TUG`"] }');
55+
catch
56+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
57+
end
5358
disp('Passing Game to Mathematica ...')
5459
w=gameToMama(v);
5560
math('matlab2math','mg1',w);

mama/tug_AntiPreKernelQ.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
% Date Version Programmer
1919
% ====================================================
2020
% 03/06/2011 0.1 beta hme
21+
% 07/02/2021 1.9 hme
2122
%
2223

2324
% Here we assume that the user has represented the game correctly.
@@ -45,7 +46,11 @@
4546
math('quit')
4647
pause(1)
4748
math('$Version')
48-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
49+
try
50+
math('{Needs["TUG`"] }');
51+
catch
52+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
53+
end
4954
disp('Passing Game to Mathematica ...')
5055
w=gameToMama(v);
5156
math('matlab2math','mg1',w);

mama/tug_AvConvexQ.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
% Date Version Programmer
2121
% ====================================================
2222
% 03/08/2011 0.1 beta hme
23+
% 07/02/2021 1.9 hme
2324
%
2425

2526
if nargin<1
@@ -45,7 +46,11 @@
4546
math('quit')
4647
pause(1)
4748
math('$Version')
48-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
49+
try
50+
math('{Needs["TUG`"] }');
51+
catch
52+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
53+
end
4954
disp('Passing Game to Mathematica ...')
5055
w=gameToMama(v);
5156
math('matlab2math','mg1',w);

mama/tug_AverageConvexQ.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
% Date Version Programmer
1919
% ====================================================
2020
% 03/08/2011 0.1 beta hme
21+
% 07/02/2021 1.9 hme
2122
%
2223

2324
if nargin<1
@@ -43,7 +44,11 @@
4344
math('quit')
4445
pause(1)
4546
math('$Version')
46-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
47+
try
48+
math('{Needs["TUG`"] }');
49+
catch
50+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
51+
end
4752
disp('Passing Game to Mathematica ...')
4853
w=gameToMama(v);
4954
math('matlab2math','mg1',w);

mama/tug_BalancedKSelectionQ.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
% Date Version Programmer
2121
% ====================================================
2222
% 03/06/2011 0.1 beta hme
23+
% 07/02/2021 1.9 hme
2324
%
2425

2526
% Here we assume that the user has represented the game correctly.
@@ -56,7 +57,11 @@
5657
math('quit')
5758
pause(1)
5859
math('$Version')
59-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
60+
try
61+
math('{Needs["TUG`"] }');
62+
catch
63+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
64+
end
6065
disp('Passing Game to Mathematica ...')
6166
w=gameToMama(v);
6267
math('matlab2math','mg1',w);

mama/tug_BalancedSelectionQ.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
% Date Version Programmer
2020
% ====================================================
2121
% 03/06/2011 0.1 beta hme
22+
% 07/02/2021 1.9 hme
2223
%
2324

2425
% Here we assume that the user has represented the game correctly.
@@ -46,7 +47,11 @@
4647
math('quit')
4748
pause(1)
4849
math('$Version')
49-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
50+
try
51+
math('{Needs["TUG`"] }');
52+
catch
53+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
54+
end
5055
disp('Passing Game to Mathematica ...')
5156
w=gameToMama(v);
5257
math('matlab2math','mg1',w);

mama/tug_Bankruptcy.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
% Date Version Programmer
2020
% ====================================================
2121
% 03/06/2011 0.1 beta hme
22+
% 07/02/2021 1.9 hme
2223
%
2324

2425
% Here we assume that the user has represented the game correctly.
@@ -40,7 +41,11 @@
4041
math('quit')
4142
pause(1)
4243
math('$Version')
43-
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
44+
try
45+
math('{Needs["TUG`"] }');
46+
catch
47+
math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }');
48+
end
4449
disp('Passing Bankruptcy Situation to Mathematica ...')
4550
math('matlab2math','est',E);
4651
math('est1=Flatten[est,1][[1]]');

0 commit comments

Comments
 (0)