diff --git a/mama/tug_AdjustedWorthVectors.m b/mama/tug_AdjustedWorthVectors.m index 03e0629..e951ea7 100644 --- a/mama/tug_AdjustedWorthVectors.m +++ b/mama/tug_AdjustedWorthVectors.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_AllAntiSurpluses.m b/mama/tug_AllAntiSurpluses.m index 91fab92..e354b04 100644 --- a/mama/tug_AllAntiSurpluses.m +++ b/mama/tug_AllAntiSurpluses.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_AllMaxSurpluses.m b/mama/tug_AllMaxSurpluses.m index 92e09e7..e785be2 100644 --- a/mama/tug_AllMaxSurpluses.m +++ b/mama/tug_AllMaxSurpluses.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -50,7 +51,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_AntiPreKernel.m b/mama/tug_AntiPreKernel.m index 736dad7..4880aff 100644 --- a/mama/tug_AntiPreKernel.m +++ b/mama/tug_AntiPreKernel.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -49,7 +50,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_AntiPreKernelQ.m b/mama/tug_AntiPreKernelQ.m index 7b57acb..a71ee64 100644 --- a/mama/tug_AntiPreKernelQ.m +++ b/mama/tug_AntiPreKernelQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_AvConvexQ.m b/mama/tug_AvConvexQ.m index 84c1d60..16eb5bc 100644 --- a/mama/tug_AvConvexQ.m +++ b/mama/tug_AvConvexQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % if nargin<1 @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_AverageConvexQ.m b/mama/tug_AverageConvexQ.m index 0d4c300..3be7bb2 100644 --- a/mama/tug_AverageConvexQ.m +++ b/mama/tug_AverageConvexQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % if nargin<1 @@ -43,7 +44,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_BalancedKSelectionQ.m b/mama/tug_BalancedKSelectionQ.m index 7a2e9a2..7225eb9 100644 --- a/mama/tug_BalancedKSelectionQ.m +++ b/mama/tug_BalancedKSelectionQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -56,7 +57,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_BalancedSelectionQ.m b/mama/tug_BalancedSelectionQ.m index c7dd0e9..8dd23ed 100644 --- a/mama/tug_BalancedSelectionQ.m +++ b/mama/tug_BalancedSelectionQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_Bankruptcy.m b/mama/tug_Bankruptcy.m index ef8fbd3..df7ec80 100644 --- a/mama/tug_Bankruptcy.m +++ b/mama/tug_Bankruptcy.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -40,7 +41,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Bankruptcy Situation to Mathematica ...') math('matlab2math','est',E); math('est1=Flatten[est,1][[1]]'); diff --git a/mama/tug_BelongToCoreQ.m b/mama/tug_BelongToCoreQ.m index 9c4a818..3d181de 100644 --- a/mama/tug_BelongToCoreQ.m +++ b/mama/tug_BelongToCoreQ.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -48,7 +49,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_BestCoalToMatrix.m b/mama/tug_BestCoalToMatrix.m index eaf8a92..866b6d0 100644 --- a/mama/tug_BestCoalToMatrix.m +++ b/mama/tug_BestCoalToMatrix.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -52,7 +53,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_Bsc.m b/mama/tug_Bsc.m index 8505f1a..44409b5 100644 --- a/mama/tug_Bsc.m +++ b/mama/tug_Bsc.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -51,7 +52,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_CddGmpVerticesCore.m b/mama/tug_CddGmpVerticesCore.m index 3ad58e1..c3e9369 100644 --- a/mama/tug_CddGmpVerticesCore.m +++ b/mama/tug_CddGmpVerticesCore.m @@ -24,6 +24,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -50,7 +51,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_CharacteristicValues.m b/mama/tug_CharacteristicValues.m index 0110f78..19f9bef 100644 --- a/mama/tug_CharacteristicValues.m +++ b/mama/tug_CharacteristicValues.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing unanimity coordninates to Mathematica ...') whd=gameToMama(hd); math('matlab2math','n1',n); diff --git a/mama/tug_Coal2Dec.m b/mama/tug_Coal2Dec.m index 9a290e8..6243c3c 100644 --- a/mama/tug_Coal2Dec.m +++ b/mama/tug_Coal2Dec.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -32,7 +33,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Input to Mathematica ...') math('matlab2math','n1',n); math('n1=Flatten[n1,1][[1]]'); diff --git a/mama/tug_CollectionBalancedQ.m b/mama/tug_CollectionBalancedQ.m index 797f01b..31c19d8 100644 --- a/mama/tug_CollectionBalancedQ.m +++ b/mama/tug_CollectionBalancedQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end math('matlab2math','t',n); math('t1=Rationalize[Flatten[t,1][[1]]]'); math('T=Range[t1]'); diff --git a/mama/tug_CollectionOfDecreasingExcess.m b/mama/tug_CollectionOfDecreasingExcess.m index f5dc610..8d20701 100644 --- a/mama/tug_CollectionOfDecreasingExcess.m +++ b/mama/tug_CollectionOfDecreasingExcess.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_Concession.m b/mama/tug_Concession.m index 3db7d76..b775c8d 100644 --- a/mama/tug_Concession.m +++ b/mama/tug_Concession.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ContestedGarment.m b/mama/tug_ContestedGarment.m index 5353514..3303d25 100644 --- a/mama/tug_ContestedGarment.m +++ b/mama/tug_ContestedGarment.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/09/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -42,7 +43,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Contested Garment Problem to Mathematica ...') math('matlab2math','est',E) math('est1=Flatten[est,1][[1]]'); diff --git a/mama/tug_ConvexQ.m b/mama/tug_ConvexQ.m index 08912d6..9ca5a15 100644 --- a/mama/tug_ConvexQ.m +++ b/mama/tug_ConvexQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % if nargin<1 @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ConvexUnanConditionQ.m b/mama/tug_ConvexUnanConditionQ.m index de6581b..0f9846b 100644 --- a/mama/tug_ConvexUnanConditionQ.m +++ b/mama/tug_ConvexUnanConditionQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_CoreElementsQ.m b/mama/tug_CoreElementsQ.m index 56d9fb5..c3694da 100644 --- a/mama/tug_CoreElementsQ.m +++ b/mama/tug_CoreElementsQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_CoreQ.m b/mama/tug_CoreQ.m index 56cd30f..32b7566 100644 --- a/mama/tug_CoreQ.m +++ b/mama/tug_CoreQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_CostSavings.m b/mama/tug_CostSavings.m index bb7bdd3..b5e4965 100644 --- a/mama/tug_CostSavings.m +++ b/mama/tug_CostSavings.m @@ -17,6 +17,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') math('matlab2math','n1',n); math('matlab2math','c1',c); diff --git a/mama/tug_CriticalVal.m b/mama/tug_CriticalVal.m index e38e76e..019fa8b 100644 --- a/mama/tug_CriticalVal.m +++ b/mama/tug_CriticalVal.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_DetQuasiAvConvex.m b/mama/tug_DetQuasiAvConvex.m index 1dc9c70..f3a8e24 100644 --- a/mama/tug_DetQuasiAvConvex.m +++ b/mama/tug_DetQuasiAvConvex.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_DetRandCoord.m b/mama/tug_DetRandCoord.m index 278b324..cde69a9 100644 --- a/mama/tug_DetRandCoord.m +++ b/mama/tug_DetRandCoord.m @@ -22,6 +22,8 @@ % Date Version Programmer % ==================================================== % 10/28/2013 0.5 hme +% 07/02/2021 1.9 hme +% 07/02/2021 1.9 hme % N=2^n-1; @@ -31,7 +33,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing input arguments to Mathematica ...') math('matlab2math','n1',n); math('matlab2math','sed',sed_val); diff --git a/mama/tug_DetUCoord.m b/mama/tug_DetUCoord.m index cc8aff0..305bf01 100644 --- a/mama/tug_DetUCoord.m +++ b/mama/tug_DetUCoord.m @@ -23,6 +23,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -84,7 +85,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing unanimity coordninates to Mathematica ...') math('matlab2math','n1',n); math('matlab2math','mhd',wuc); diff --git a/mama/tug_Disagreement.m b/mama/tug_Disagreement.m index b050299..54ec678 100644 --- a/mama/tug_Disagreement.m +++ b/mama/tug_Disagreement.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_DualGame.m b/mama/tug_DualGame.m index 83a5343..69dac4d 100644 --- a/mama/tug_DualGame.m +++ b/mama/tug_DualGame.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_EpsCore.m b/mama/tug_EpsCore.m index f128649..a7ad38b 100644 --- a/mama/tug_EpsCore.m +++ b/mama/tug_EpsCore.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_EqClass.m b/mama/tug_EqClass.m index e45f481..dd7a5b0 100644 --- a/mama/tug_EqClass.m +++ b/mama/tug_EqClass.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -51,7 +52,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_EvalSumMinCoord.m b/mama/tug_EvalSumMinCoord.m index b8a761b..38903a4 100644 --- a/mama/tug_EvalSumMinCoord.m +++ b/mama/tug_EvalSumMinCoord.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_ExcessValues.m b/mama/tug_ExcessValues.m index 902f4c1..6025106 100644 --- a/mama/tug_ExcessValues.m +++ b/mama/tug_ExcessValues.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_FindPreKernel.m b/mama/tug_FindPreKernel.m index a280d17..d09cc73 100644 --- a/mama/tug_FindPreKernel.m +++ b/mama/tug_FindPreKernel.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -48,7 +49,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_GameMonotoneQ.m b/mama/tug_GameMonotoneQ.m index 9fac9ff..aff0e90 100644 --- a/mama/tug_GameMonotoneQ.m +++ b/mama/tug_GameMonotoneQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_Gap.m b/mama/tug_Gap.m index 0c37b80..895e11e 100644 --- a/mama/tug_Gap.m +++ b/mama/tug_Gap.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_GrandCoalitionLargestValueQ.m b/mama/tug_GrandCoalitionLargestValueQ.m index 034f1f8..1f4c0f3 100644 --- a/mama/tug_GrandCoalitionLargestValueQ.m +++ b/mama/tug_GrandCoalitionLargestValueQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_GreedyBankruptcy.m b/mama/tug_GreedyBankruptcy.m index edfd55a..713a23a 100644 --- a/mama/tug_GreedyBankruptcy.m +++ b/mama/tug_GreedyBankruptcy.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -40,7 +41,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Bankruptcy Situation to Mathematica ...') math('matlab2math','est',E); math('est1=Flatten[est,1][[1]]'); diff --git a/mama/tug_HarsanyiDividends.m b/mama/tug_HarsanyiDividends.m index ea7dfbc..50696a2 100644 --- a/mama/tug_HarsanyiDividends.m +++ b/mama/tug_HarsanyiDividends.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_ImpToVec.m b/mama/tug_ImpToVec.m index f026f79..5b178d3 100644 --- a/mama/tug_ImpToVec.m +++ b/mama/tug_ImpToVec.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -51,7 +52,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ImputationQ.m b/mama/tug_ImputationQ.m index e0b3654..2877211 100644 --- a/mama/tug_ImputationQ.m +++ b/mama/tug_ImputationQ.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -52,7 +53,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_IntersectionOfMaxExcessSets.m b/mama/tug_IntersectionOfMaxExcessSets.m index 1d68675..cea58b4 100644 --- a/mama/tug_IntersectionOfMaxExcessSets.m +++ b/mama/tug_IntersectionOfMaxExcessSets.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_IntersectionUpperLowerSetQ.m b/mama/tug_IntersectionUpperLowerSetQ.m index 79626f8..4c4bf3c 100644 --- a/mama/tug_IntersectionUpperLowerSetQ.m +++ b/mama/tug_IntersectionUpperLowerSetQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_Kernel.m b/mama/tug_Kernel.m index f0c3370..aee1b82 100644 --- a/mama/tug_Kernel.m +++ b/mama/tug_Kernel.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_KernelCalculation.m b/mama/tug_KernelCalculation.m index 0215e76..c4f2ae9 100644 --- a/mama/tug_KernelCalculation.m +++ b/mama/tug_KernelCalculation.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_KernelImputationQ.m b/mama/tug_KernelImputationQ.m index 968176a..9dc930a 100644 --- a/mama/tug_KernelImputationQ.m +++ b/mama/tug_KernelImputationQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_KernelVertices.m b/mama/tug_KernelVertices.m index c735c32..7845c5e 100644 --- a/mama/tug_KernelVertices.m +++ b/mama/tug_KernelVertices.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_LargestAmount.m b/mama/tug_LargestAmount.m index 35609dc..923b97f 100644 --- a/mama/tug_LargestAmount.m +++ b/mama/tug_LargestAmount.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_LeastCore.m b/mama/tug_LeastCore.m index 0591b49..932c1d7 100644 --- a/mama/tug_LeastCore.m +++ b/mama/tug_LeastCore.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_LexiCenter.m b/mama/tug_LexiCenter.m index 6033940..14792de 100644 --- a/mama/tug_LexiCenter.m +++ b/mama/tug_LexiCenter.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_LowerSetIncImputationQ.m b/mama/tug_LowerSetIncImputationQ.m index 4932a6e..0142d1b 100644 --- a/mama/tug_LowerSetIncImputationQ.m +++ b/mama/tug_LowerSetIncImputationQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_LowerSetQ.m b/mama/tug_LowerSetQ.m index e1f7bed..48627f0 100644 --- a/mama/tug_LowerSetQ.m +++ b/mama/tug_LowerSetQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MKernel.m b/mama/tug_MKernel.m index 59117a0..b5bc4e3 100644 --- a/mama/tug_MKernel.m +++ b/mama/tug_MKernel.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MLExtension.m b/mama/tug_MLExtension.m index ecd5197..6267090 100644 --- a/mama/tug_MLExtension.m +++ b/mama/tug_MLExtension.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 09/26/2014 0.5 hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MargValue.m b/mama/tug_MargValue.m index 1a22522..26075dd 100644 --- a/mama/tug_MargValue.m +++ b/mama/tug_MargValue.m @@ -17,6 +17,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -42,7 +43,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MaxExcessBalanced.m b/mama/tug_MaxExcessBalanced.m index f5ba43b..4aeddfd 100644 --- a/mama/tug_MaxExcessBalanced.m +++ b/mama/tug_MaxExcessBalanced.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MaxExcessSets.m b/mama/tug_MaxExcessSets.m index 8b0576b..eea3173 100644 --- a/mama/tug_MaxExcessSets.m +++ b/mama/tug_MaxExcessSets.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MinExcessBalanced.m b/mama/tug_MinExcessBalanced.m index f595862..0af1f75 100644 --- a/mama/tug_MinExcessBalanced.m +++ b/mama/tug_MinExcessBalanced.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MinUnanimityCoordinates.m b/mama/tug_MinUnanimityCoordinates.m index aae2859..a376955 100644 --- a/mama/tug_MinUnanimityCoordinates.m +++ b/mama/tug_MinUnanimityCoordinates.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_Mnuc.m b/mama/tug_Mnuc.m index 14e7b15..348494b 100644 --- a/mama/tug_Mnuc.m +++ b/mama/tug_Mnuc.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_MonotoneQ.m b/mama/tug_MonotoneQ.m index 919d87f..fd9d487 100644 --- a/mama/tug_MonotoneQ.m +++ b/mama/tug_MonotoneQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % diff --git a/mama/tug_Nuc.m b/mama/tug_Nuc.m index 4c25aca..6409b36 100644 --- a/mama/tug_Nuc.m +++ b/mama/tug_Nuc.m @@ -17,6 +17,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. diff --git a/mama/tug_OneNormalization.m b/mama/tug_OneNormalization.m index 2bff29b..ed933e0 100644 --- a/mama/tug_OneNormalization.m +++ b/mama/tug_OneNormalization.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_PreKernel.m b/mama/tug_PreKernel.m index 5e4a732..38f3c0a 100644 --- a/mama/tug_PreKernel.m +++ b/mama/tug_PreKernel.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -59,7 +60,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_PreKernelEl.m b/mama/tug_PreKernelEl.m index 6e73998..02558a5 100644 --- a/mama/tug_PreKernelEl.m +++ b/mama/tug_PreKernelEl.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_PreKernelEqualsKernelQ.m b/mama/tug_PreKernelEqualsKernelQ.m index 070c736..84447ac 100644 --- a/mama/tug_PreKernelEqualsKernelQ.m +++ b/mama/tug_PreKernelEqualsKernelQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_PreKernelQ.m b/mama/tug_PreKernelQ.m index ba2c52f..69f3a06 100644 --- a/mama/tug_PreKernelQ.m +++ b/mama/tug_PreKernelQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_PreNuc.m b/mama/tug_PreNuc.m index 18c2f9f..4fb5b27 100644 --- a/mama/tug_PreNuc.m +++ b/mama/tug_PreNuc.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ProperAmount.m b/mama/tug_ProperAmount.m index 58d3315..8bb369e 100644 --- a/mama/tug_ProperAmount.m +++ b/mama/tug_ProperAmount.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_Quota.m b/mama/tug_Quota.m index 648718f..3451b84 100644 --- a/mama/tug_Quota.m +++ b/mama/tug_Quota.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ReasonableOutcome.m b/mama/tug_ReasonableOutcome.m index 5661560..f08c632 100644 --- a/mama/tug_ReasonableOutcome.m +++ b/mama/tug_ReasonableOutcome.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ReasonableSet.m b/mama/tug_ReasonableSet.m index 654e1a5..6fa58fd 100644 --- a/mama/tug_ReasonableSet.m +++ b/mama/tug_ReasonableSet.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ScrbSolution.m b/mama/tug_ScrbSolution.m index 6f5c5e1..6d3517a 100644 --- a/mama/tug_ScrbSolution.m +++ b/mama/tug_ScrbSolution.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_SetsToVec.m b/mama/tug_SetsToVec.m index 9ad1deb..6284415 100644 --- a/mama/tug_SetsToVec.m +++ b/mama/tug_SetsToVec.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -51,7 +52,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ShapleyValue.m b/mama/tug_ShapleyValue.m index 8ae7201..3a9e672 100644 --- a/mama/tug_ShapleyValue.m +++ b/mama/tug_ShapleyValue.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ShapleyValueML.m b/mama/tug_ShapleyValueML.m index aa0bf02..3c39f4a 100644 --- a/mama/tug_ShapleyValueML.m +++ b/mama/tug_ShapleyValueML.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 09/26/2014 0.5 hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_SmallestContribution.m b/mama/tug_SmallestContribution.m index 95d9675..daae74f 100644 --- a/mama/tug_SmallestContribution.m +++ b/mama/tug_SmallestContribution.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_StrictlyConvexUnanConditionQ.m b/mama/tug_StrictlyConvexUnanConditionQ.m index d696f62..67d4725 100644 --- a/mama/tug_StrictlyConvexUnanConditionQ.m +++ b/mama/tug_StrictlyConvexUnanConditionQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_SuperAdditiveQ.m b/mama/tug_SuperAdditiveQ.m index c335beb..b53a5be 100644 --- a/mama/tug_SuperAdditiveQ.m +++ b/mama/tug_SuperAdditiveQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_SymGameSizeK.m b/mama/tug_SymGameSizeK.m index d2da627..ef1d801 100644 --- a/mama/tug_SymGameSizeK.m +++ b/mama/tug_SymGameSizeK.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Data to Mathematica ...') math('matlab2math','t',n); math('t1=Rationalize[Flatten[t,1][[1]]]'); diff --git a/mama/tug_SymGameType2.m b/mama/tug_SymGameType2.m index c4af51f..8acf541 100644 --- a/mama/tug_SymGameType2.m +++ b/mama/tug_SymGameType2.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -49,7 +50,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Data to Mathematica ...') math('matlab2math','t',n); math('t1=Rationalize[Flatten[t,1][[1]]]'); diff --git a/mama/tug_SymGameType3.m b/mama/tug_SymGameType3.m index 575171d..88c0337 100644 --- a/mama/tug_SymGameType3.m +++ b/mama/tug_SymGameType3.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -49,7 +50,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Data to Mathematica ...') math('matlab2math','t',n); math('t1=Rationalize[Flatten[t,1][[1]]]'); diff --git a/mama/tug_SymGameType4.m b/mama/tug_SymGameType4.m index d538893..a538a50 100644 --- a/mama/tug_SymGameType4.m +++ b/mama/tug_SymGameType4.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -48,7 +49,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Data to Mathematica ...') math('matlab2math','t',n); math('t1=Rationalize[Flatten[t,1][[1]]]'); diff --git a/mama/tug_TalmudicRule.m b/mama/tug_TalmudicRule.m index 792dcb6..354eeb4 100644 --- a/mama/tug_TalmudicRule.m +++ b/mama/tug_TalmudicRule.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/09/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -42,7 +43,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Contested Garment Problem to Mathematica ...') math('matlab2math','est',E); math('est1=Flatten[est,1][[1]]'); diff --git a/mama/tug_TauValue.m b/mama/tug_TauValue.m index 38cf911..3e0c485 100644 --- a/mama/tug_TauValue.m +++ b/mama/tug_TauValue.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_UnanAvConvexQ.m b/mama/tug_UnanAvConvexQ.m index d07c399..65a3a09 100644 --- a/mama/tug_UnanAvConvexQ.m +++ b/mama/tug_UnanAvConvexQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing unanimity coordninates to Mathematica ...') whd=gameToMama(hd); math('matlab2math','n1',n); diff --git a/mama/tug_UnanConvexQ.m b/mama/tug_UnanConvexQ.m index d6616f1..323e830 100644 --- a/mama/tug_UnanConvexQ.m +++ b/mama/tug_UnanConvexQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing unanimity coordninates to Mathematica ...') whd=gameToMama(hd); math('matlab2math','n1',n); diff --git a/mama/tug_UnanimityCoordinates.m b/mama/tug_UnanimityCoordinates.m index 59659f2..ed1f857 100644 --- a/mama/tug_UnanimityCoordinates.m +++ b/mama/tug_UnanimityCoordinates.m @@ -17,6 +17,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mama/tug_UpperSetIncImputationQ.m b/mama/tug_UpperSetIncImputationQ.m index c275845..6d25d2d 100644 --- a/mama/tug_UpperSetIncImputationQ.m +++ b/mama/tug_UpperSetIncImputationQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_UpperSetQ.m b/mama/tug_UpperSetQ.m index 91d43ba..deeaee7 100644 --- a/mama/tug_UpperSetQ.m +++ b/mama/tug_UpperSetQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_UtopiaVector.m b/mama/tug_UtopiaVector.m index 6203abf..df678aa 100644 --- a/mama/tug_UtopiaVector.m +++ b/mama/tug_UtopiaVector.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ValueExcess.m b/mama/tug_ValueExcess.m index 7088d96..3a5d3be 100644 --- a/mama/tug_ValueExcess.m +++ b/mama/tug_ValueExcess.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_VerticesCore.m b/mama/tug_VerticesCore.m index 3f832c9..68f3cd9 100644 --- a/mama/tug_VerticesCore.m +++ b/mama/tug_VerticesCore.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_WeaklySuperAdditiveQ.m b/mama/tug_WeaklySuperAdditiveQ.m index 752014c..b7d242c 100644 --- a/mama/tug_WeaklySuperAdditiveQ.m +++ b/mama/tug_WeaklySuperAdditiveQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 03/08/2011 0.1 beta hme +% 07/02/2021 1.9 hme % if nargin<1 @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_WeightedMajority.m b/mama/tug_WeightedMajority.m index e30f9be..42c4d52 100644 --- a/mama/tug_WeightedMajority.m +++ b/mama/tug_WeightedMajority.m @@ -19,13 +19,14 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. if nargin<1 - error('The Estate and the claims vector must be provided!'); + error('The quorum and the weights vector must be provided!'); elseif nargin<2 - error('The claims vector must be provided!'); + error('The weights vector must be provided!'); else if isvector(wghs)==0 error('The weights must be a vector of length greater or equal to 2!'); @@ -41,8 +42,12 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); -disp('Passing Bankruptcy Situation to Mathematica ...') +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end +disp('Passing Weighted Majority Situation to Mathematica ...') math('matlab2math','n1',n); math('matlab2math','thv',th); math('ml=Rationalize[Flatten[thv,1][[1]]]'); diff --git a/mama/tug_ZeroMonotoneQ.m b/mama/tug_ZeroMonotoneQ.m index d0664d8..b6ac0fd 100644 --- a/mama/tug_ZeroMonotoneQ.m +++ b/mama/tug_ZeroMonotoneQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ZeroNormalization.m b/mama/tug_ZeroNormalization.m index 0e063ed..79c145d 100644 --- a/mama/tug_ZeroNormalization.m +++ b/mama/tug_ZeroNormalization.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_ZeroOneNormalization.m b/mama/tug_ZeroOneNormalization.m index 5bb2485..bab11a2 100644 --- a/mama/tug_ZeroOneNormalization.m +++ b/mama/tug_ZeroOneNormalization.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mama/tug_kCover.m b/mama/tug_kCover.m index 732d001..b1bc186 100644 --- a/mama/tug_kCover.m +++ b/mama/tug_kCover.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 03/06/2011 0.1 beta hme +% 07/02/2021 1.9 hme % % Here we assume that the user has represented the game correctly. @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AdjustedWorthVectors.m b/mat_tugames/@TuGame/tug_AdjustedWorthVectors.m index 8477d4b..e0a68f9 100644 --- a/mat_tugames/@TuGame/tug_AdjustedWorthVectors.m +++ b/mat_tugames/@TuGame/tug_AdjustedWorthVectors.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -37,7 +38,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AllAntiSurpluses.m b/mat_tugames/@TuGame/tug_AllAntiSurpluses.m index 23a2d32..923547b 100644 --- a/mat_tugames/@TuGame/tug_AllAntiSurpluses.m +++ b/mat_tugames/@TuGame/tug_AllAntiSurpluses.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -40,7 +41,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AllMaxSurpluses.m b/mat_tugames/@TuGame/tug_AllMaxSurpluses.m index 093fb62..faa3370 100644 --- a/mat_tugames/@TuGame/tug_AllMaxSurpluses.m +++ b/mat_tugames/@TuGame/tug_AllMaxSurpluses.m @@ -23,6 +23,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AntiPreKernel.m b/mat_tugames/@TuGame/tug_AntiPreKernel.m index 36d37f2..5360653 100644 --- a/mat_tugames/@TuGame/tug_AntiPreKernel.m +++ b/mat_tugames/@TuGame/tug_AntiPreKernel.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AntiPreKernelQ.m b/mat_tugames/@TuGame/tug_AntiPreKernelQ.m index 94df087..596603e 100644 --- a/mat_tugames/@TuGame/tug_AntiPreKernelQ.m +++ b/mat_tugames/@TuGame/tug_AntiPreKernelQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AvConvexQ.m b/mat_tugames/@TuGame/tug_AvConvexQ.m index 21fce84..794460b 100644 --- a/mat_tugames/@TuGame/tug_AvConvexQ.m +++ b/mat_tugames/@TuGame/tug_AvConvexQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % N=clv.tusize; @@ -31,7 +32,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_AverageConvexQ.m b/mat_tugames/@TuGame/tug_AverageConvexQ.m index 3371da1..a4ff98e 100644 --- a/mat_tugames/@TuGame/tug_AverageConvexQ.m +++ b/mat_tugames/@TuGame/tug_AverageConvexQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % N=clv.tusize; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_BalancedKSelectionQ.m b/mat_tugames/@TuGame/tug_BalancedKSelectionQ.m index 81c17bf..f0fca28 100644 --- a/mat_tugames/@TuGame/tug_BalancedKSelectionQ.m +++ b/mat_tugames/@TuGame/tug_BalancedKSelectionQ.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_BalancedSelectionQ.m b/mat_tugames/@TuGame/tug_BalancedSelectionQ.m index a4bd3d4..cac27bd 100644 --- a/mat_tugames/@TuGame/tug_BalancedSelectionQ.m +++ b/mat_tugames/@TuGame/tug_BalancedSelectionQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_BelongToCoreQ.m b/mat_tugames/@TuGame/tug_BelongToCoreQ.m index 24a0afe..2c772f8 100644 --- a/mat_tugames/@TuGame/tug_BelongToCoreQ.m +++ b/mat_tugames/@TuGame/tug_BelongToCoreQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % @@ -44,7 +45,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_BestCoalToMatrix.m b/mat_tugames/@TuGame/tug_BestCoalToMatrix.m index 1d0864e..63b4c4c 100644 --- a/mat_tugames/@TuGame/tug_BestCoalToMatrix.m +++ b/mat_tugames/@TuGame/tug_BestCoalToMatrix.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -48,7 +49,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_Bsc.m b/mat_tugames/@TuGame/tug_Bsc.m index 56a9eaf..caded36 100644 --- a/mat_tugames/@TuGame/tug_Bsc.m +++ b/mat_tugames/@TuGame/tug_Bsc.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -48,7 +49,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_CollectionOfDecreasingExcess.m b/mat_tugames/@TuGame/tug_CollectionOfDecreasingExcess.m index bf2fe73..df73ad9 100644 --- a/mat_tugames/@TuGame/tug_CollectionOfDecreasingExcess.m +++ b/mat_tugames/@TuGame/tug_CollectionOfDecreasingExcess.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -40,7 +41,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_Concession.m b/mat_tugames/@TuGame/tug_Concession.m index 8b54503..91dd3ec 100644 --- a/mat_tugames/@TuGame/tug_Concession.m +++ b/mat_tugames/@TuGame/tug_Concession.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -40,7 +41,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ConvexQ.m b/mat_tugames/@TuGame/tug_ConvexQ.m index f73c320..8f321ed 100644 --- a/mat_tugames/@TuGame/tug_ConvexQ.m +++ b/mat_tugames/@TuGame/tug_ConvexQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -29,7 +30,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ConvexUnanConditionQ.m b/mat_tugames/@TuGame/tug_ConvexUnanConditionQ.m index edc37d2..470f9b6 100644 --- a/mat_tugames/@TuGame/tug_ConvexUnanConditionQ.m +++ b/mat_tugames/@TuGame/tug_ConvexUnanConditionQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/04/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_CoreElementsQ.m b/mat_tugames/@TuGame/tug_CoreElementsQ.m index e93819d..fd380c6 100644 --- a/mat_tugames/@TuGame/tug_CoreElementsQ.m +++ b/mat_tugames/@TuGame/tug_CoreElementsQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_CoreQ.m b/mat_tugames/@TuGame/tug_CoreQ.m index da24f5d..fa61b57 100644 --- a/mat_tugames/@TuGame/tug_CoreQ.m +++ b/mat_tugames/@TuGame/tug_CoreQ.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/10/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_CriticalVal.m b/mat_tugames/@TuGame/tug_CriticalVal.m index e1d1a20..94d55c4 100644 --- a/mat_tugames/@TuGame/tug_CriticalVal.m +++ b/mat_tugames/@TuGame/tug_CriticalVal.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_DetQuasiAvConvex.m b/mat_tugames/@TuGame/tug_DetQuasiAvConvex.m index 184a463..268b133 100644 --- a/mat_tugames/@TuGame/tug_DetQuasiAvConvex.m +++ b/mat_tugames/@TuGame/tug_DetQuasiAvConvex.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -29,7 +30,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_Disagreement.m b/mat_tugames/@TuGame/tug_Disagreement.m index 9ceb8d1..0819559 100644 --- a/mat_tugames/@TuGame/tug_Disagreement.m +++ b/mat_tugames/@TuGame/tug_Disagreement.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_DualGame.m b/mat_tugames/@TuGame/tug_DualGame.m index b398658..5e4f8f7 100644 --- a/mat_tugames/@TuGame/tug_DualGame.m +++ b/mat_tugames/@TuGame/tug_DualGame.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_EpsCore.m b/mat_tugames/@TuGame/tug_EpsCore.m index 4ef2f62..4858594 100644 --- a/mat_tugames/@TuGame/tug_EpsCore.m +++ b/mat_tugames/@TuGame/tug_EpsCore.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -31,7 +32,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_EqClass.m b/mat_tugames/@TuGame/tug_EqClass.m index 560b37c..db39b2f 100644 --- a/mat_tugames/@TuGame/tug_EqClass.m +++ b/mat_tugames/@TuGame/tug_EqClass.m @@ -43,7 +43,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_EvalSumMinCoord.m b/mat_tugames/@TuGame/tug_EvalSumMinCoord.m index 04ee5c8..4a69ef5 100644 --- a/mat_tugames/@TuGame/tug_EvalSumMinCoord.m +++ b/mat_tugames/@TuGame/tug_EvalSumMinCoord.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -29,7 +30,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_ExcessValues.m b/mat_tugames/@TuGame/tug_ExcessValues.m index 708b976..fd55370 100644 --- a/mat_tugames/@TuGame/tug_ExcessValues.m +++ b/mat_tugames/@TuGame/tug_ExcessValues.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % @@ -43,7 +44,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_FindPreKernel.m b/mat_tugames/@TuGame/tug_FindPreKernel.m index fea1692..9d811d7 100644 --- a/mat_tugames/@TuGame/tug_FindPreKernel.m +++ b/mat_tugames/@TuGame/tug_FindPreKernel.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -42,7 +43,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_GameMonotoneQ.m b/mat_tugames/@TuGame/tug_GameMonotoneQ.m index e91f15d..b801343 100644 --- a/mat_tugames/@TuGame/tug_GameMonotoneQ.m +++ b/mat_tugames/@TuGame/tug_GameMonotoneQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -29,7 +30,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_Gap.m b/mat_tugames/@TuGame/tug_Gap.m index 2fc9a59..cac5080 100644 --- a/mat_tugames/@TuGame/tug_Gap.m +++ b/mat_tugames/@TuGame/tug_Gap.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_GrandCoalitionLargestValueQ.m b/mat_tugames/@TuGame/tug_GrandCoalitionLargestValueQ.m index 5214122..4b48045 100644 --- a/mat_tugames/@TuGame/tug_GrandCoalitionLargestValueQ.m +++ b/mat_tugames/@TuGame/tug_GrandCoalitionLargestValueQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -31,7 +32,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_HarsanyiDividends.m b/mat_tugames/@TuGame/tug_HarsanyiDividends.m index bd47c0c..aac97d9 100644 --- a/mat_tugames/@TuGame/tug_HarsanyiDividends.m +++ b/mat_tugames/@TuGame/tug_HarsanyiDividends.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_ImpToVec.m b/mat_tugames/@TuGame/tug_ImpToVec.m index 849a6a0..2a3b235 100644 --- a/mat_tugames/@TuGame/tug_ImpToVec.m +++ b/mat_tugames/@TuGame/tug_ImpToVec.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -47,7 +48,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ImputationQ.m b/mat_tugames/@TuGame/tug_ImputationQ.m index 31ce45d..a46a83d 100644 --- a/mat_tugames/@TuGame/tug_ImputationQ.m +++ b/mat_tugames/@TuGame/tug_ImputationQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -48,7 +49,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_IntersectionOfMaxExcessSets.m b/mat_tugames/@TuGame/tug_IntersectionOfMaxExcessSets.m index 46ef3e5..98f7ece 100644 --- a/mat_tugames/@TuGame/tug_IntersectionOfMaxExcessSets.m +++ b/mat_tugames/@TuGame/tug_IntersectionOfMaxExcessSets.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_IntersectionUpperLowerSetQ.m b/mat_tugames/@TuGame/tug_IntersectionUpperLowerSetQ.m index 129a320..a8d85a0 100644 --- a/mat_tugames/@TuGame/tug_IntersectionUpperLowerSetQ.m +++ b/mat_tugames/@TuGame/tug_IntersectionUpperLowerSetQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -31,7 +32,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_Kernel.m b/mat_tugames/@TuGame/tug_Kernel.m index 0fdf453..f0d41f2 100644 --- a/mat_tugames/@TuGame/tug_Kernel.m +++ b/mat_tugames/@TuGame/tug_Kernel.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_KernelCalculation.m b/mat_tugames/@TuGame/tug_KernelCalculation.m index de1c4b6..d15961d 100644 --- a/mat_tugames/@TuGame/tug_KernelCalculation.m +++ b/mat_tugames/@TuGame/tug_KernelCalculation.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % N=clv.tusize; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_KernelImputationQ.m b/mat_tugames/@TuGame/tug_KernelImputationQ.m index 9d0bd7d..9a9e808 100644 --- a/mat_tugames/@TuGame/tug_KernelImputationQ.m +++ b/mat_tugames/@TuGame/tug_KernelImputationQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_KernelVertices.m b/mat_tugames/@TuGame/tug_KernelVertices.m index 72a3795..8c2c9f1 100644 --- a/mat_tugames/@TuGame/tug_KernelVertices.m +++ b/mat_tugames/@TuGame/tug_KernelVertices.m @@ -19,13 +19,18 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_LargestAmount.m b/mat_tugames/@TuGame/tug_LargestAmount.m index 1f936ab..06dc2f2 100644 --- a/mat_tugames/@TuGame/tug_LargestAmount.m +++ b/mat_tugames/@TuGame/tug_LargestAmount.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_LeastCore.m b/mat_tugames/@TuGame/tug_LeastCore.m index 4802b00..c5e781c 100644 --- a/mat_tugames/@TuGame/tug_LeastCore.m +++ b/mat_tugames/@TuGame/tug_LeastCore.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_LexiCenter.m b/mat_tugames/@TuGame/tug_LexiCenter.m index 7dc62c9..266cf20 100644 --- a/mat_tugames/@TuGame/tug_LexiCenter.m +++ b/mat_tugames/@TuGame/tug_LexiCenter.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % N=clv.tusize; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_LowerSetIncImputationQ.m b/mat_tugames/@TuGame/tug_LowerSetIncImputationQ.m index 5a56367..24474be 100644 --- a/mat_tugames/@TuGame/tug_LowerSetIncImputationQ.m +++ b/mat_tugames/@TuGame/tug_LowerSetIncImputationQ.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -28,7 +29,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_LowerSetQ.m b/mat_tugames/@TuGame/tug_LowerSetQ.m index f558780..3186c88 100644 --- a/mat_tugames/@TuGame/tug_LowerSetQ.m +++ b/mat_tugames/@TuGame/tug_LowerSetQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MKernel.m b/mat_tugames/@TuGame/tug_MKernel.m index 3ebe933..2be4b67 100644 --- a/mat_tugames/@TuGame/tug_MKernel.m +++ b/mat_tugames/@TuGame/tug_MKernel.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MLExtension.m b/mat_tugames/@TuGame/tug_MLExtension.m index fccc303..b57bed0 100644 --- a/mat_tugames/@TuGame/tug_MLExtension.m +++ b/mat_tugames/@TuGame/tug_MLExtension.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 09/26/2014 0.5 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=clv.gameToMama; math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MargValue.m b/mat_tugames/@TuGame/tug_MargValue.m index aa2a0d7..ba75ef2 100644 --- a/mat_tugames/@TuGame/tug_MargValue.m +++ b/mat_tugames/@TuGame/tug_MargValue.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MaxExcessBalanced.m b/mat_tugames/@TuGame/tug_MaxExcessBalanced.m index e6f0f7f..222ce77 100644 --- a/mat_tugames/@TuGame/tug_MaxExcessBalanced.m +++ b/mat_tugames/@TuGame/tug_MaxExcessBalanced.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(v); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MaxExcessSets.m b/mat_tugames/@TuGame/tug_MaxExcessSets.m index 084d0f5..ac1c8ee 100644 --- a/mat_tugames/@TuGame/tug_MaxExcessSets.m +++ b/mat_tugames/@TuGame/tug_MaxExcessSets.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MinExcessBalanced.m b/mat_tugames/@TuGame/tug_MinExcessBalanced.m index 7376a2a..6d06595 100644 --- a/mat_tugames/@TuGame/tug_MinExcessBalanced.m +++ b/mat_tugames/@TuGame/tug_MinExcessBalanced.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MinUnanimityCoordinates.m b/mat_tugames/@TuGame/tug_MinUnanimityCoordinates.m index 567707e..341288f 100644 --- a/mat_tugames/@TuGame/tug_MinUnanimityCoordinates.m +++ b/mat_tugames/@TuGame/tug_MinUnanimityCoordinates.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Cost Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_Mnuc.m b/mat_tugames/@TuGame/tug_Mnuc.m index 08ec390..daa0a16 100644 --- a/mat_tugames/@TuGame/tug_Mnuc.m +++ b/mat_tugames/@TuGame/tug_Mnuc.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_MonotoneQ.m b/mat_tugames/@TuGame/tug_MonotoneQ.m index b5a2d0a..c2e5e05 100644 --- a/mat_tugames/@TuGame/tug_MonotoneQ.m +++ b/mat_tugames/@TuGame/tug_MonotoneQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; diff --git a/mat_tugames/@TuGame/tug_Nuc.m b/mat_tugames/@TuGame/tug_Nuc.m index 8de855b..5d7ac93 100644 --- a/mat_tugames/@TuGame/tug_Nuc.m +++ b/mat_tugames/@TuGame/tug_Nuc.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; diff --git a/mat_tugames/@TuGame/tug_OneNormalization.m b/mat_tugames/@TuGame/tug_OneNormalization.m index 03f90b2..935cc08 100644 --- a/mat_tugames/@TuGame/tug_OneNormalization.m +++ b/mat_tugames/@TuGame/tug_OneNormalization.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_PreKernel.m b/mat_tugames/@TuGame/tug_PreKernel.m index 8b31cce..3973cee 100644 --- a/mat_tugames/@TuGame/tug_PreKernel.m +++ b/mat_tugames/@TuGame/tug_PreKernel.m @@ -21,6 +21,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -46,7 +47,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_PreKernelEl.m b/mat_tugames/@TuGame/tug_PreKernelEl.m index 9b48468..b6b7d10 100644 --- a/mat_tugames/@TuGame/tug_PreKernelEl.m +++ b/mat_tugames/@TuGame/tug_PreKernelEl.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_PreKernelEqualsKernelQ.m b/mat_tugames/@TuGame/tug_PreKernelEqualsKernelQ.m index 24703d5..7402b0c 100644 --- a/mat_tugames/@TuGame/tug_PreKernelEqualsKernelQ.m +++ b/mat_tugames/@TuGame/tug_PreKernelEqualsKernelQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_PreKernelQ.m b/mat_tugames/@TuGame/tug_PreKernelQ.m index d0b8bda..f1d9800 100644 --- a/mat_tugames/@TuGame/tug_PreKernelQ.m +++ b/mat_tugames/@TuGame/tug_PreKernelQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -41,7 +42,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_PreNuc.m b/mat_tugames/@TuGame/tug_PreNuc.m index 514dab0..4777a58 100644 --- a/mat_tugames/@TuGame/tug_PreNuc.m +++ b/mat_tugames/@TuGame/tug_PreNuc.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ProperAmount.m b/mat_tugames/@TuGame/tug_ProperAmount.m index 052f0c3..46fadf1 100644 --- a/mat_tugames/@TuGame/tug_ProperAmount.m +++ b/mat_tugames/@TuGame/tug_ProperAmount.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_Quota.m b/mat_tugames/@TuGame/tug_Quota.m index 1a31ec0..961ee32 100644 --- a/mat_tugames/@TuGame/tug_Quota.m +++ b/mat_tugames/@TuGame/tug_Quota.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ReasonableOutcome.m b/mat_tugames/@TuGame/tug_ReasonableOutcome.m index 74f6d46..5dc3f75 100644 --- a/mat_tugames/@TuGame/tug_ReasonableOutcome.m +++ b/mat_tugames/@TuGame/tug_ReasonableOutcome.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ReasonableSet.m b/mat_tugames/@TuGame/tug_ReasonableSet.m index d611b76..1459a7b 100644 --- a/mat_tugames/@TuGame/tug_ReasonableSet.m +++ b/mat_tugames/@TuGame/tug_ReasonableSet.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ScrbSolution.m b/mat_tugames/@TuGame/tug_ScrbSolution.m index 3b4dce7..384f517 100644 --- a/mat_tugames/@TuGame/tug_ScrbSolution.m +++ b/mat_tugames/@TuGame/tug_ScrbSolution.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_SetsToVec.m b/mat_tugames/@TuGame/tug_SetsToVec.m index ad80826..34a6f6c 100644 --- a/mat_tugames/@TuGame/tug_SetsToVec.m +++ b/mat_tugames/@TuGame/tug_SetsToVec.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -45,7 +46,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ShapleyValue.m b/mat_tugames/@TuGame/tug_ShapleyValue.m index d004b9c..a0a2671 100644 --- a/mat_tugames/@TuGame/tug_ShapleyValue.m +++ b/mat_tugames/@TuGame/tug_ShapleyValue.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ShapleyValueML.m b/mat_tugames/@TuGame/tug_ShapleyValueML.m index 296a03c..36c78b2 100644 --- a/mat_tugames/@TuGame/tug_ShapleyValueML.m +++ b/mat_tugames/@TuGame/tug_ShapleyValueML.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 09/26/2014 0.5 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=clv.gameToMama; math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_SmallestContribution.m b/mat_tugames/@TuGame/tug_SmallestContribution.m index 7602f5f..b182a49 100644 --- a/mat_tugames/@TuGame/tug_SmallestContribution.m +++ b/mat_tugames/@TuGame/tug_SmallestContribution.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_StrictlyConvexUnanConditionQ.m b/mat_tugames/@TuGame/tug_StrictlyConvexUnanConditionQ.m index b402a32..1a53d97 100644 --- a/mat_tugames/@TuGame/tug_StrictlyConvexUnanConditionQ.m +++ b/mat_tugames/@TuGame/tug_StrictlyConvexUnanConditionQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_SuperAdditiveQ.m b/mat_tugames/@TuGame/tug_SuperAdditiveQ.m index e0533bb..93aec99 100644 --- a/mat_tugames/@TuGame/tug_SuperAdditiveQ.m +++ b/mat_tugames/@TuGame/tug_SuperAdditiveQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_TauValue.m b/mat_tugames/@TuGame/tug_TauValue.m index d919275..61e64c5 100644 --- a/mat_tugames/@TuGame/tug_TauValue.m +++ b/mat_tugames/@TuGame/tug_TauValue.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -26,7 +27,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_UnanimityCoordinates.m b/mat_tugames/@TuGame/tug_UnanimityCoordinates.m index 99e8921..3ed0873 100644 --- a/mat_tugames/@TuGame/tug_UnanimityCoordinates.m +++ b/mat_tugames/@TuGame/tug_UnanimityCoordinates.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','n1',n); diff --git a/mat_tugames/@TuGame/tug_UpperSetIncImputationQ.m b/mat_tugames/@TuGame/tug_UpperSetIncImputationQ.m index 714d10b..23690ec 100644 --- a/mat_tugames/@TuGame/tug_UpperSetIncImputationQ.m +++ b/mat_tugames/@TuGame/tug_UpperSetIncImputationQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_UpperSetQ.m b/mat_tugames/@TuGame/tug_UpperSetQ.m index 1662500..8fde4cd 100644 --- a/mat_tugames/@TuGame/tug_UpperSetQ.m +++ b/mat_tugames/@TuGame/tug_UpperSetQ.m @@ -20,6 +20,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -27,7 +28,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_UtopiaVector.m b/mat_tugames/@TuGame/tug_UtopiaVector.m index d7f8a1f..4a016d0 100644 --- a/mat_tugames/@TuGame/tug_UtopiaVector.m +++ b/mat_tugames/@TuGame/tug_UtopiaVector.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ValueExcess.m b/mat_tugames/@TuGame/tug_ValueExcess.m index 3d56d3e..417df85 100644 --- a/mat_tugames/@TuGame/tug_ValueExcess.m +++ b/mat_tugames/@TuGame/tug_ValueExcess.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % v=clv.tuvalues; @@ -40,7 +41,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_VerticesCore.m b/mat_tugames/@TuGame/tug_VerticesCore.m index 9f4948a..9aa8b08 100644 --- a/mat_tugames/@TuGame/tug_VerticesCore.m +++ b/mat_tugames/@TuGame/tug_VerticesCore.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_WeaklySuperAdditiveQ.m b/mat_tugames/@TuGame/tug_WeaklySuperAdditiveQ.m index 018d690..715cd5c 100644 --- a/mat_tugames/@TuGame/tug_WeaklySuperAdditiveQ.m +++ b/mat_tugames/@TuGame/tug_WeaklySuperAdditiveQ.m @@ -22,6 +22,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -29,7 +30,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ZeroMonotoneQ.m b/mat_tugames/@TuGame/tug_ZeroMonotoneQ.m index 4bd6ceb..e1cc275 100644 --- a/mat_tugames/@TuGame/tug_ZeroMonotoneQ.m +++ b/mat_tugames/@TuGame/tug_ZeroMonotoneQ.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ZeroNormalization.m b/mat_tugames/@TuGame/tug_ZeroNormalization.m index 91d68cb..233615e 100644 --- a/mat_tugames/@TuGame/tug_ZeroNormalization.m +++ b/mat_tugames/@TuGame/tug_ZeroNormalization.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/01/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_ZeroOneNormalization.m b/mat_tugames/@TuGame/tug_ZeroOneNormalization.m index d08ff6f..b079bbe 100644 --- a/mat_tugames/@TuGame/tug_ZeroOneNormalization.m +++ b/mat_tugames/@TuGame/tug_ZeroOneNormalization.m @@ -18,6 +18,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % n=clv.tuplayers; @@ -25,7 +26,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w); diff --git a/mat_tugames/@TuGame/tug_kCover.m b/mat_tugames/@TuGame/tug_kCover.m index 055c39b..afe1444 100644 --- a/mat_tugames/@TuGame/tug_kCover.m +++ b/mat_tugames/@TuGame/tug_kCover.m @@ -19,6 +19,7 @@ % Date Version Programmer % ==================================================== % 11/02/2012 0.3 hme +% 07/02/2021 1.9 hme % @@ -37,7 +38,11 @@ math('quit') pause(1) math('$Version') -math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +try + math('{Needs["TUG`"] }'); +catch + math('{Needs["coop`CooperativeGames`"],Needs["VertexEnum`"],Needs["TuGames`"],Needs["TuGamesAux`"] }'); +end disp('Passing Game to Mathematica ...') w=gameToMama(clv); math('matlab2math','mg1',w);