Code Monkey home page Code Monkey logo

butools's People

Contributors

ghorvath78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

butools's Issues

ImageFromMMAP bug

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.

Non-scalar ncMom value

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.