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.
|
| [t,K]=curvature(b,N)
|
function [t,K]=curvature(b,N)
% function [t,K]=curvature(b,N)
if ~strcmpi(class(b),'bezier')
error('Expecting a bezier object');
end
t=linspace(0,1,N);
K=(6*b.bx*t+2*b.bx)./(6*b.by*t+2*b.by)./(1+(3*b.bx*(t.^2)+2*b.bx*t+b.cx).^2./(3*b.by*t.^2+2*b.by*t+b.cy).^2).^(3/2);
|
|
Contact us at files@mathworks.com