Queueing and traffic modeling related functionality for Matlab, Mathematica and Python
ghorvath78 / butools Goto Github PK
View Code? Open in Web Editor NEWQueueing and traffic modeling related functionality for Matlab, Mathematica and Python
Queueing and traffic modeling related functionality for Matlab, Mathematica and Python
BUTools requires the lyap function to be available, which in turn implies that the user has installed/bought the control system toolbox.
The following free code would remove this requirement: https://github.com/ajt60gaibb/freeLYAP
scipy no longer includes functions expm2 or expm3 in linalg, so it might be best to change all expm2 calls to expm calls.
https://docs.scipy.org/doc/scipy/reference/linalg.html
https://stackoverflow.com/questions/45167237/matrix-exponentiation-with-scipy-expm-expm2-and-expm3#49570892
Line 32 in ImageFromMMAP.m should be changed from:
if BuToolsCheckInput && ~CheckMAPRepresentation(D)
to
if BuToolsCheckInput && ~CheckMMAPRepresentation(D)
Otherwise the documentation example for ImageFromMAP does not work.
In the example below, MMAPPH1FCFS does not return a scalar value for the mean queue-length of the second job type i.e. size(Qret{2})>1.
======
K>> A{:}
ans =
-1.662500000000000 0 1.500000000000000 0
0 -2.041666666666667 0 1.500000000000000
0 0 -1.662500000000000 0
0 0 0 -2.041666666666667
ans =
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
ans =
0.081250000000000 0.081250000000000 0 0
0.270833333333333 0.270833333333333 0 0
0 0 0.081250000000000 0.081250000000000
0 0 0.270833333333333 0.270833333333333
ans =
0 0 0 0
0 0 0 0
1.500000000000000 0 0 0
0 1.500000000000000 0 0
K>> pi0{:}
ans =
0.100000000000000 0.900000000000000
ans =
1
ans =
1
K>> D0{:}
ans =
-1 0
0 -10
ans =
-1
ans =
-5
K>> [Qret{1:K}, ncDistr] = MMAPPH1FCFS(A,pi0,D0, 'ncMoms', 1, 'ncDistr',2)
Qret =
1ร3 cell array
{[-1.107273244325013e-16]} {1ร2 double} {[0.406142279752581]}
ncDistr =
0.730075313881092 0.179311556820691
K>> Qret{2}
ans =
0.999999999999999 -0.000000000000000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.