Package jline.api.pfqn
Interface Pfqn_busyp.RateFunction
- Enclosing class:
- Pfqn_busyp
public static interface Pfqn_busyp.RateFunction
The load-dependent rate of one node, as a FUNCTION of the jobs it holds.
A DENSE TABLE CANNOT EXPRESS AN INFINITE SERVER. The open-network form
below truncates its tail adaptively and may need the rate at an order far
beyond any table a caller would build, and the Matrix overloads answer
such a query with their last column -- correct for the multiserver
staircase, which saturates at c/S, and wrong for a delay station, whose
rate is k/S and grows without bound. The MATLAB and C++ ports of this
routine have always taken a function for that reason; this is its Java
spelling, and the Matrix overloads are now a wrapper over it.
-
Method Summary
-
Method Details
-
rate
double rate(int node, int jobs) - Parameters:
node- zero-based node index in the ORIGINAL numbering handed to pfqn_busyp, not the subnetwork'sjobs- number of jobs held, 1 or more- Returns:
- the total service rate of the node at that occupancy
-