Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-scalar ncMom value #3

Open
gcasale opened this issue Jun 30, 2019 · 0 comments
Open

Non-scalar ncMom value #3

gcasale opened this issue Jun 30, 2019 · 0 comments

Comments

@gcasale
Copy link

gcasale commented Jun 30, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant