Code covered by the BSD License
-
Incentives(varargin)
INCENTIVES M-file for Incentives.fig
-
LoadOk(varargin)
LOADOK M-file for LoadOk.fig
-
NodeView(varargin)
NODEVIEW M-file for NodeView.fig
-
Nodo(varargin)
NODO M-file for Nodo.fig
-
Parameters(varargin)
PARAMETERS M-file for Parameters.fig
-
ResultsExplorer(varargin)
RESULTSEXPLORER M-file for ResultsExplorer.fig
-
SCRS(varargin)
Supply Chain Risk Simulator (SCRS)
-
SCRSTuple(varargin)
SCRSTUPLE M-file for SCRSTuple.fig
-
SCRSTuple_Incentive(varargin)
SCRSTUPLE_INCENTIVE M-file for SCRSTuple_Incentive.fig
-
SCRStart(varargin)
SCRSTART M-file for SCRStart.fig
-
SupplyChain(varargin)
SUPPLYCHAIN M-file for SupplyChain.fig
-
SupplyChainMonitor(varargin)
SUPPLYCHAINMONITOR M-file for SupplyChainMonitor.fig
-
A1=coalition(n);
-
DefineSubPieces(elem,indice,f...
testare
-
Payoff_SCRS(SuppliersNew,fiel...
ind incice del parametro di SuppierNew da far variare
-
Payoff_SCRS_conjunct(Supplier...
mi salvo anche i vari scenari che si generano tenendo le allocazioni x e
-
Payoff_SCRS_conjunct2(Supplie...
disp('Payoff computation');
-
RDFtoMAT(RDF)
trasforma l'RDF nella struttura matlab da usare SCRS
-
S=shap1(n,v);
This program determines the shapley value .Shapley value is one of
-
Simplex_SCRS(SuppliersNew,Tim...
matrice di connessioni per il simplesso per il tempo
-
[probability,contextstr]=Prob...
-
[t,K]=curvature(b,N)
-
[t,x,y]=get_points(b,N)
-
[xp,yp,t,d]=calculate_distanc...
Calculate distance between bezier curve and a point
-
c=recalculate_coeffs(b)
function c=recalculate_coeffs(b)
-
c=recalculate_points(b)
function c=recalculate_points(b)
-
display(b)
function display(b)
-
easy_draw(b)
function easy_draw(b)
-
edit_bezier(varargin)
-
fixdec(x, n)
FIXDEC Round towards zero with a specified number of decimals.
-
l=length(b,N)
-
parseRDF(filename)
PARSEXML Convert XML file to a MATLAB structure.
-
parseXML(filename)
PARSEXML Convert XML file to a MATLAB structure.
-
show_curve(b)
function show_curve(b)
-
subsasgn(b,index,val)
-
v=subsref(c,index)
-
varargout=edit_curve(varargin...
WYSIWYG editor for bezier curve
-
varargout=edit_curve_Payoff(v...
WYSIWYG editor for bezier curve
-
bezier(varargin)
construction of a Bezier curve
-
AttacksPayoff_Computation.m
-
Conditional_ProbabilityTable.m
-
Conditional_Probability_Compu...
-
Incentive_Computation.m
-
Replaceability_Computation.m
-
ShapleyDelta_Computation.m
-
View all files
from
Supply Chain Risk Simulator (SCRS)
by Marco Anisetti
Supply Chain simulator for risk assessment and incentive schemes.
|
| A1=coalition(n);
|
function A1=coalition(n);
% This program calculates the 2^2-2 coalition constraints for
% cooperative game.If the no of players are more than 15 the execution
% time will be more.
for i=1:n-1
k(i)=nchoosek(n,i);
end
A=zeros(2^n-2,n);
A1=A;
k1=1:n;
nn1=1;
for i=1:n
x=nchoosek(k1,i);
[n1 n2]=size(x);
A(nn1:nn1+n1-1,1:n2)=x;
nn1=nn1+n1;
end
m=sum(k);
for i=1:m
for j=1:n
kk=A(i,j);
if kk>0
A1(i,kk)=1;
else
end
end
end
|
|
Contact us at files@mathworks.com